Skip to content

Scala cannot access private inner classes, making Indexes nearly impossible to instantiate [JIRA: CLIENTS-689] #584

@TJC

Description

@TJC

The current recommended way of getting an index is something like:

riakObj.getIndexes.getIndex( StringBinIndex.Name("example") )

Except that the .Name class within StringBinIndex cannot be accessed from Scala, and that is not going to change.

Making the .Name class and constructors on RiakIndexes public would sort this out.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions