Interface FieldIdentifier<T,O>
-
- Type Parameters:
T
- metadata type
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IdIndex
,NamedField
,NamedIndex
,PositionField
- All Known Implementing Classes:
IdIndexImpl
,NamedFieldImpl
,NamedIndexImpl
,PositionFieldImpl
public interface FieldIdentifier<T,O> extends Serializable
Represents filtering operand in conditions, it may be an index or a field
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
metadata(TarantoolMetadataOperations metadataOperations, TarantoolSpaceMetadata spaceMetadata)
Returns metadata object corresponding to the field identifier typeO
toIdentifier()
Get serializable form of the identifier
-
-
-
Method Detail
-
metadata
T metadata(TarantoolMetadataOperations metadataOperations, TarantoolSpaceMetadata spaceMetadata)
Returns metadata object corresponding to the field identifier type- 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
O toIdentifier()
Get serializable form of the identifier- Returns:
- an object serializable into MessagePack
-
-