Skip to content

Annotation-based 2i with dynamic index names [JIRA: CLIENTS-1017] #679

@runesl

Description

@runesl

The current RiakIndex annotation requires the name to be static like "email" here:

@RiakIndex(name="email")
public Set<String> emailIndx;

We need a way to annotate dynamic indices like:

@RiakIndex
public Map<String, String> references;

Where each key in the Map is a 2i key to index, and each value is the corresponding 2i value.

The old RiakObject based API can do this.
Is this something basho can implement or would you be willing to merge a PR on it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions