public interface TarantoolIndexMetadata
| Modifier and Type | Method and Description |
|---|---|
int |
getIndexId()
Get index ID in the corresponding space on the Tarantool server
|
String |
getIndexName()
Get index name
|
TarantoolIndexOptions |
getIndexOptions()
Get index options
|
Optional<Integer> |
getIndexPartPositionByFieldPosition(int fieldPosition)
Get map of field positions to index parts positions
|
List<TarantoolIndexPartMetadata> |
getIndexParts()
Get index parts
|
Map<Integer,TarantoolIndexPartMetadata> |
getIndexPartsByPosition()
Get index parts by field indexes
|
TarantoolIndexType |
getIndexType()
Get index type
|
int |
getSpaceId()
Get ID of a space that this index is defined on
|
boolean |
isPrimary()
Returns true if this is a primary index, false otherwise.
|
boolean |
isUnique()
Returns true if this is a unique index, false otherwise.
|
void |
setIndexOptions(TarantoolIndexOptions indexOptions)
Set index options
|
void |
setIndexParts(List<TarantoolIndexPartMetadata> indexParts)
Set index parts
|
void |
setIndexType(TarantoolIndexType indexType)
Set index type
|
int getSpaceId()
int getIndexId()
String getIndexName()
StringTarantoolIndexType getIndexType()
void setIndexType(TarantoolIndexType indexType)
indexType - a non-empty TarantoolIndexTypeTarantoolIndexOptions getIndexOptions()
void setIndexOptions(TarantoolIndexOptions indexOptions)
indexOptions - a not-empty TarantoolIndexOptionsvoid setIndexParts(List<TarantoolIndexPartMetadata> indexParts)
indexParts - a not-empty list of TarantoolIndexPartMetadataList<TarantoolIndexPartMetadata> getIndexParts()
TarantoolIndexPartMetadataMap<Integer,TarantoolIndexPartMetadata> getIndexPartsByPosition()
TarantoolIndexPartMetadataOptional<Integer> getIndexPartPositionByFieldPosition(int fieldPosition)
fieldPosition - field position in tuple, starting from 0boolean isPrimary()
boolean isUnique()
Copyright © 2025 Picodata. All rights reserved.