@Target(value=FIELD) @Retention(value=RUNTIME) public @interface Indexed
For more details on Secondary index feature please refer to Aerospike Secondary index.
| Modifier and Type | Required Element and Description |
|---|---|
com.aerospike.client.query.IndexType |
type
Underlying data type of secondary index.
|
| Modifier and Type | Optional Element and Description |
|---|---|
com.aerospike.client.query.IndexCollectionType |
collectionType
Secondary index collection type.
|
String |
name
If not set, name will be automatically generated with pattern {setName}_{fieldName}_lowercase{type}_lowercase{collectionType}.
|
public abstract com.aerospike.client.query.IndexType type
public abstract String name
Copyright © 2020–2021 Aerospike, Inc. All rights reserved.