Interface IdIndex
-
- All Superinterfaces:
FieldIdentifier<TarantoolIndexMetadata,Integer>,Serializable
- All Known Implementing Classes:
IdIndexImpl
public interface IdIndex extends FieldIdentifier<TarantoolIndexMetadata,Integer>
Represents an index defined by its id
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TarantoolIndexMetadatametadata(TarantoolMetadataOperations metadataOperations, TarantoolSpaceMetadata spaceMetadata)Returns metadata object corresponding to the field identifier typeIntegertoIdentifier()Get serializable form of the identifier
-
-
-
Method Detail
-
metadata
TarantoolIndexMetadata metadata(TarantoolMetadataOperations metadataOperations, TarantoolSpaceMetadata spaceMetadata)
Description copied from interface:FieldIdentifierReturns metadata object corresponding to the field identifier type- Specified by:
metadatain interfaceFieldIdentifier<TarantoolIndexMetadata,Integer>- Parameters:
metadataOperations- for retrieving the operand metadata and checking the filed or index availabilityspaceMetadata- space metadata this field or index belongs to- Returns:
- name to be used in filter condition
-
toIdentifier
Integer toIdentifier()
Description copied from interface:FieldIdentifierGet serializable form of the identifier- Specified by:
toIdentifierin interfaceFieldIdentifier<TarantoolIndexMetadata,Integer>- Returns:
- an object serializable into MessagePack
-
-