Interface NamedIndex
-
- All Superinterfaces:
FieldIdentifier<TarantoolIndexMetadata,String>
,Serializable
- All Known Implementing Classes:
NamedIndexImpl
public interface NamedIndex extends FieldIdentifier<TarantoolIndexMetadata,String>
Represents an index defined by name
-
-
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 typeString
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,String>
- 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
String toIdentifier()
Description copied from interface:FieldIdentifier
Get serializable form of the identifier- Specified by:
toIdentifier
in interfaceFieldIdentifier<TarantoolIndexMetadata,String>
- Returns:
- an object serializable into MessagePack
-
-