public class JsonIndex extends com.cloudant.client.internal.query.InternalIndex<com.cloudant.client.api.query.JsonIndex.Definition,JsonIndex.Field>
Class model of a JSON index definition.
This class should not be instantiated directly, use JsonIndex.Builder
to create an
index definition string to pass to Database.createIndex(String)
or use Database.listIndexes()
and Indexes.jsonIndexes()
to retrieve existing
JSON index definitions.
Database.createIndex(String)
Modifier and Type | Class and Description |
---|---|
static class |
JsonIndex.Builder
Class for building a definition for a JSON type index.
|
static class |
JsonIndex.Field
Model of a field in a JSON index including the field name and sort order.
|
Modifier and Type | Method and Description |
---|---|
static JsonIndex.Builder |
builder()
Get a new instance of a builder to configure a JsonIndex.
|
public static JsonIndex.Builder builder()