@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
|
| Modifier and Type | Method and Description |
|---|---|
VectorIndex |
createIndex(CreateVectorIndexRequest request)
Create a new index.
|
DeleteDataVectorIndexResponse |
deleteDataVectorIndex(DeleteDataVectorIndexRequest request)
Handles the deletion of data from a specified vector index.
|
DeleteDataVectorIndexResponse |
deleteDataVectorIndex(String indexName) |
void |
deleteIndex(DeleteIndexRequest request)
Delete an index.
|
void |
deleteIndex(String indexName) |
VectorIndex |
getIndex(GetIndexRequest request)
Get an index.
|
VectorIndex |
getIndex(String indexName) |
VectorSearchIndexesService |
impl() |
Iterable<MiniVectorIndex> |
listIndexes(ListIndexesRequest request)
List all indexes in the given endpoint.
|
Iterable<MiniVectorIndex> |
listIndexes(String endpointName) |
QueryVectorIndexResponse |
queryIndex(QueryVectorIndexRequest request)
Query the specified vector index.
|
QueryVectorIndexResponse |
queryNextPage(QueryVectorIndexNextPageRequest request)
Use `next_page_token` returned from previous `QueryVectorIndex` or `QueryVectorIndexNextPage`
request to fetch next page of results.
|
ScanVectorIndexResponse |
scanIndex(ScanVectorIndexRequest request)
Scan the specified vector index and return the first `num_results` entries after the exclusive
`primary_key`.
|
void |
syncIndex(SyncIndexRequest request)
Triggers a synchronization process for a specified vector index.
|
UpsertDataVectorIndexResponse |
upsertDataVectorIndex(UpsertDataVectorIndexRequest request)
Handles the upserting of data into a specified vector index.
|
public VectorSearchIndexesAPI(ApiClient apiClient)
public VectorSearchIndexesAPI(VectorSearchIndexesService mock)
public VectorIndex createIndex(CreateVectorIndexRequest request)
public DeleteDataVectorIndexResponse deleteDataVectorIndex(String indexName)
public DeleteDataVectorIndexResponse deleteDataVectorIndex(DeleteDataVectorIndexRequest request)
public void deleteIndex(String indexName)
public void deleteIndex(DeleteIndexRequest request)
public VectorIndex getIndex(String indexName)
public VectorIndex getIndex(GetIndexRequest request)
public Iterable<MiniVectorIndex> listIndexes(String endpointName)
public Iterable<MiniVectorIndex> listIndexes(ListIndexesRequest request)
public QueryVectorIndexResponse queryIndex(QueryVectorIndexRequest request)
public QueryVectorIndexResponse queryNextPage(QueryVectorIndexNextPageRequest request)
public ScanVectorIndexResponse scanIndex(ScanVectorIndexRequest request)
public void syncIndex(SyncIndexRequest request)
public UpsertDataVectorIndexResponse upsertDataVectorIndex(UpsertDataVectorIndexRequest request)
public VectorSearchIndexesService impl()
Copyright © 2026. All rights reserved.