public interface TarantoolMetadataOperations
| Modifier and Type | Method and Description |
|---|---|
Optional<TarantoolIndexMetadata> |
getIndexById(int spaceId,
int indexId)
Get metadata for index from the specified space by index ID
|
Optional<TarantoolIndexMetadata> |
getIndexById(String spaceName,
int indexId)
Get metadata for index from the specified space by index ID
|
Optional<TarantoolIndexMetadata> |
getIndexByName(int spaceId,
String indexName)
Get metadata for index from the specified space by name
|
Optional<TarantoolIndexMetadata> |
getIndexByName(String spaceName,
String indexName)
Get metadata for index from the specified space by name
|
Optional<TarantoolSpaceMetadata> |
getSpaceById(int spaceId)
Get metadata for the space specified by id
|
Optional<TarantoolSpaceMetadata> |
getSpaceByName(String spaceName)
Get metadata for the space specified by name
|
Optional<Map<String,TarantoolIndexMetadata>> |
getSpaceIndexes(int spaceId)
Get metadata for all indexes for space specified by id
|
Optional<Map<String,TarantoolIndexMetadata>> |
getSpaceIndexes(String spaceName)
Get metadata for all indexes for space specified by name
|
CompletableFuture<Void> |
refresh()
Refresh metadata cache
|
void |
scheduleRefresh()
Initiates metadata refresh cycle
|
void scheduleRefresh()
CompletableFuture<Void> refresh() throws TarantoolClientException
TarantoolClientException - if fetching data failed with errorOptional<TarantoolSpaceMetadata> getSpaceByName(String spaceName)
spaceName - the space name, must not be null or emptyOptionalOptional<TarantoolIndexMetadata> getIndexByName(int spaceId, String indexName)
spaceId - the space ID, must be greater than 0indexName - index name, must not be null or emptyOptionalOptional<TarantoolIndexMetadata> getIndexByName(String spaceName, String indexName)
spaceName - the space name, must not be null or emptyindexName - index name, must not be null or emptyOptionalOptional<TarantoolIndexMetadata> getIndexById(String spaceName, int indexId)
spaceName - the space name, must not be null or emptyindexId - index ID, must not be must be greater or equal than 0OptionalOptional<TarantoolIndexMetadata> getIndexById(int spaceId, int indexId)
spaceId - the space ID, must be greater than 0indexId - index ID, must not be must be greater or equal than 0OptionalOptional<TarantoolSpaceMetadata> getSpaceById(int spaceId)
spaceId - the space ID, must be greater than 0OptionalOptional<Map<String,TarantoolIndexMetadata>> getSpaceIndexes(int spaceId)
spaceId - the space ID, must be greater than 0OptionalCopyright © 2025 Picodata. All rights reserved.