public class IdIndexImpl extends Object implements IdIndex
Constructor and Description |
---|
IdIndexImpl(int position)
Construct index by its id
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
TarantoolIndexMetadata |
metadata(TarantoolMetadataOperations metadataOperations,
TarantoolSpaceMetadata spaceMetadata)
Returns metadata object corresponding to the field identifier type
|
Integer |
toIdentifier()
Get serializable form of the identifier
|
public IdIndexImpl(int position)
position
- index position in the order of creation, starting from 0public TarantoolIndexMetadata metadata(TarantoolMetadataOperations metadataOperations, TarantoolSpaceMetadata spaceMetadata)
FieldIdentifier
metadata
in interface FieldIdentifier<TarantoolIndexMetadata,Integer>
metadata
in interface IdIndex
metadataOperations
- for retrieving the operand metadata and checking the filed or index availabilityspaceMetadata
- space metadata this field or index belongs topublic Integer toIdentifier()
FieldIdentifier
toIdentifier
in interface FieldIdentifier<TarantoolIndexMetadata,Integer>
toIdentifier
in interface IdIndex
Copyright © 2025 Picodata. All rights reserved.