SetRecords<(Of <(<'T>)>)>..::..CreateIndex Method (String, String, IndexType, IndexCollectionType, array<CTX>[]()[][])
Creates a secondary index on this set for a bin https://docs.aerospike.com/server/guide/query
Namespace:
Aerospike.Database.LINQPadDriver.ExtensionsAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
public SetRecords<T> CreateIndex( string idxName, string idxOnBin, IndexType indexType, IndexCollectionType indexCollectionType, params CTX[] ctx )
Parameters
- idxName
- Type: String
The name of the index
- idxOnBin
- Type: String
The bin's values that will be used to build the index
- indexType
- Type: IndexType
The type of index to be built
- indexCollectionType
- Type: IndexCollectionType
The bin must be a collection and this determines on to build the index on the collection.
- ctx
- Type: array<CTX>[]()[][]
Provides additional processing of the collection