public static final class VectorServiceGrpc.VectorServiceFutureStub extends io.grpc.stub.AbstractFutureStub<VectorServiceGrpc.VectorServiceFutureStub>
The `VectorService` interface is exposed by Pinecone's vector index services. This service could also be called a `gRPC` service or a `REST`-like api.
| Modifier and Type | Method and Description |
|---|---|
protected VectorServiceGrpc.VectorServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<DeleteResponse> |
delete(DeleteRequest request)
Delete
The `Delete` operation deletes vectors, by id, from a single namespace.
|
com.google.common.util.concurrent.ListenableFuture<DescribeIndexStatsResponse> |
describeIndexStats(DescribeIndexStatsRequest request)
DescribeIndexStats
The `DescribeIndexStats` operation returns statistics about the index's contents.
|
com.google.common.util.concurrent.ListenableFuture<FetchResponse> |
fetch(FetchRequest request)
Fetch
The `Fetch` operation looks up and returns vectors, by id, from a single namespace.
|
com.google.common.util.concurrent.ListenableFuture<QueryResponse> |
query(QueryRequest request)
Query
The `Query` operation searches a namespace, using one or more query vectors.
|
com.google.common.util.concurrent.ListenableFuture<UpsertResponse> |
upsert(UpsertRequest request)
Upsert
The `Upsert` operation writes vectors into a namespace.
|
protected VectorServiceGrpc.VectorServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<VectorServiceGrpc.VectorServiceFutureStub>public com.google.common.util.concurrent.ListenableFuture<UpsertResponse> upsert(UpsertRequest request)
Upsert The `Upsert` operation writes vectors into a namespace. If a new value is upserted for an existing vector id, it will overwrite the previous value.
public com.google.common.util.concurrent.ListenableFuture<DeleteResponse> delete(DeleteRequest request)
Delete The `Delete` operation deletes vectors, by id, from a single namespace. You can delete items by their id, from a single namespace.
public com.google.common.util.concurrent.ListenableFuture<FetchResponse> fetch(FetchRequest request)
Fetch The `Fetch` operation looks up and returns vectors, by id, from a single namespace. The returned vectors include the vector data and/or metadata.
public com.google.common.util.concurrent.ListenableFuture<QueryResponse> query(QueryRequest request)
Query The `Query` operation searches a namespace, using one or more query vectors. It retrieves the ids of the most similar items in a namespace, along with their similarity scores.
public com.google.common.util.concurrent.ListenableFuture<DescribeIndexStatsResponse> describeIndexStats(DescribeIndexStatsRequest request)
DescribeIndexStats The `DescribeIndexStats` operation returns statistics about the index's contents. For example: The vector count per namespace and the number of dimensions.