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 TarantoolIndexMetadata
metadata(TarantoolMetadataOperations metadataOperations, TarantoolSpaceMetadata spaceMetadata)
Returns metadata object corresponding to the field identifier typeInteger
toIdentifier()
Get serializable form of the identifier
-
-
-
Method Detail
-
metadata
TarantoolIndexMetadata metadata(TarantoolMetadataOperations metadataOperations, TarantoolSpaceMetadata spaceMetadata)
Description copied from interface:FieldIdentifier
Returns metadata object corresponding to the field identifier type- Specified by:
metadata
in 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:FieldIdentifier
Get serializable form of the identifier- Specified by:
toIdentifier
in interfaceFieldIdentifier<TarantoolIndexMetadata,Integer>
- Returns:
- an object serializable into MessagePack
-
-