public class NamedIndexImpl extends Object implements NamedIndex
Constructor and Description |
---|
NamedIndexImpl(String name)
Construct index by its name
|
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
|
String |
toIdentifier()
Get serializable form of the identifier
|
public NamedIndexImpl(String name)
name
- index name, should not be emptypublic TarantoolIndexMetadata metadata(TarantoolMetadataOperations metadataOperations, TarantoolSpaceMetadata spaceMetadata)
FieldIdentifier
metadata
in interface FieldIdentifier<TarantoolIndexMetadata,String>
metadata
in interface NamedIndex
metadataOperations
- for retrieving the operand metadata and checking the filed or index availabilityspaceMetadata
- space metadata this field or index belongs topublic String toIdentifier()
FieldIdentifier
toIdentifier
in interface FieldIdentifier<TarantoolIndexMetadata,String>
toIdentifier
in interface NamedIndex
Copyright © 2025 Picodata. All rights reserved.