Class VectorIndexStore
-
- All Implemented Interfaces:
public final class VectorIndexStoreStores vector indexes and their metadata on the filesystem. Layout:
<vectorsRoot>/<bucket>/indexes/<indexName>/indexMetadata.json
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringINDEX_META_FILEpublic final static StringVECTORS_DIR
-
Constructor Summary
Constructors Constructor Description VectorIndexStore(VectorBucketStore vectorBucketStore, ObjectMapper objectMapper)
-
Method Summary
Modifier and Type Method Description final VectorIndexMetadatacreateIndex(String bucketName, String indexName, String dataType, Integer dimension, String distanceMetric, String sseType, String kmsKeyArn, List<String> nonFilterableMetadataKeys, Map<String, String> tags)final VectorIndexMetadatagetIndexMetadata(String bucketName, String indexName)final BooleandoesIndexExist(String bucketName, String indexName)final List<VectorIndexMetadata>listIndexes(String bucketName)final UnitupdateTags(String bucketName, String indexName, Map<String, String> tags)final UnitremoveTags(String bucketName, String indexName, List<String> tagKeys)final UnitdeleteIndex(String bucketName, String indexName)final FilegetIndexDir(String bucketName, String indexName)-
-
Constructor Detail
-
VectorIndexStore
VectorIndexStore(VectorBucketStore vectorBucketStore, ObjectMapper objectMapper)
-
-
Method Detail
-
createIndex
final VectorIndexMetadata createIndex(String bucketName, String indexName, String dataType, Integer dimension, String distanceMetric, String sseType, String kmsKeyArn, List<String> nonFilterableMetadataKeys, Map<String, String> tags)
-
getIndexMetadata
final VectorIndexMetadata getIndexMetadata(String bucketName, String indexName)
-
doesIndexExist
final Boolean doesIndexExist(String bucketName, String indexName)
-
listIndexes
final List<VectorIndexMetadata> listIndexes(String bucketName)
-
deleteIndex
final Unit deleteIndex(String bucketName, String indexName)
-
getIndexDir
final File getIndexDir(String bucketName, String indexName)
-
-
-
-