@Generated public class VectorSearchIndexesAPI extends Object
There are 2 types of Vector Search indexes: * **Delta Sync Index**: An index that automatically syncs with a source Delta Table, automatically and incrementally updating the index as the underlying data in the Delta Table changes. * **Direct Vector Access Index**: An index that supports direct read and write of vectors and metadata through our REST and SDK APIs. With this model, the user manages index updates.
Constructor and Description |
---|
VectorSearchIndexesAPI(ApiClient apiClient)
Regular-use constructor
|
VectorSearchIndexesAPI(VectorSearchIndexesService mock)
Constructor for mocks
|
public VectorSearchIndexesAPI(ApiClient apiClient)
public VectorSearchIndexesAPI(VectorSearchIndexesService mock)
public CreateVectorIndexResponse createIndex(String name, String endpointName, String primaryKey, VectorIndexType indexType)
public CreateVectorIndexResponse createIndex(CreateVectorIndexRequest request)
Create a new index.
public DeleteDataVectorIndexResponse deleteDataVectorIndex(String indexName, Collection<String> primaryKeys)
public DeleteDataVectorIndexResponse deleteDataVectorIndex(DeleteDataVectorIndexRequest request)
Handles the deletion of data from a specified vector index.
public void deleteIndex(String indexName)
public void deleteIndex(DeleteIndexRequest request)
Delete an index.
public VectorIndex getIndex(String indexName)
public VectorIndex getIndex(GetIndexRequest request)
Get an index.
public Iterable<MiniVectorIndex> listIndexes(String endpointName)
public Iterable<MiniVectorIndex> listIndexes(ListIndexesRequest request)
List all indexes in the given endpoint.
public QueryVectorIndexResponse queryIndex(String indexName, Collection<String> columns)
public QueryVectorIndexResponse queryIndex(QueryVectorIndexRequest request)
Query the specified vector index.
public void syncIndex(String indexName)
public void syncIndex(SyncIndexRequest request)
Triggers a synchronization process for a specified vector index.
public UpsertDataVectorIndexResponse upsertDataVectorIndex(String indexName, String inputsJson)
public UpsertDataVectorIndexResponse upsertDataVectorIndex(UpsertDataVectorIndexRequest request)
Handles the upserting of data into a specified vector index.
public VectorSearchIndexesService impl()
Copyright © 2024. All rights reserved.