public static final class VectorServiceGrpc.VectorServiceStub extends io.grpc.stub.AbstractAsyncStub<VectorServiceGrpc.VectorServiceStub>
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.VectorServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
delete(DeleteRequest request,
io.grpc.stub.StreamObserver<DeleteResponse> responseObserver)
Delete
The `Delete` operation deletes vectors, by id, from a single namespace.
|
void |
describeIndexStats(DescribeIndexStatsRequest request,
io.grpc.stub.StreamObserver<DescribeIndexStatsResponse> responseObserver)
DescribeIndexStats
The `DescribeIndexStats` operation returns statistics about the index's contents.
|
void |
fetch(FetchRequest request,
io.grpc.stub.StreamObserver<FetchResponse> responseObserver)
Fetch
The `Fetch` operation looks up and returns vectors, by id, from a single namespace.
|
void |
query(QueryRequest request,
io.grpc.stub.StreamObserver<QueryResponse> responseObserver)
Query
The `Query` operation searches a namespace, using one or more query vectors.
|
void |
update(UpdateRequest request,
io.grpc.stub.StreamObserver<UpdateResponse> responseObserver)
Update
The `Update` operation updates vector in a namespace.
|
void |
upsert(UpsertRequest request,
io.grpc.stub.StreamObserver<UpsertResponse> responseObserver)
Upsert
The `Upsert` operation writes vectors into a namespace.
|
protected VectorServiceGrpc.VectorServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<VectorServiceGrpc.VectorServiceStub>public void upsert(UpsertRequest request, io.grpc.stub.StreamObserver<UpsertResponse> responseObserver)
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 void delete(DeleteRequest request, io.grpc.stub.StreamObserver<DeleteResponse> responseObserver)
Delete The `Delete` operation deletes vectors, by id, from a single namespace. You can delete items by their id, from a single namespace.
public void fetch(FetchRequest request, io.grpc.stub.StreamObserver<FetchResponse> responseObserver)
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 void query(QueryRequest request, io.grpc.stub.StreamObserver<QueryResponse> responseObserver)
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 void update(UpdateRequest request, io.grpc.stub.StreamObserver<UpdateResponse> responseObserver)
Update The `Update` operation updates vector in a namespace. If a value is included, it will overwrite the previous value. If a set_metadata is included, the values of the fields specified in it will be added or overwrite the previous value.
public void describeIndexStats(DescribeIndexStatsRequest request, io.grpc.stub.StreamObserver<DescribeIndexStatsResponse> responseObserver)
DescribeIndexStats The `DescribeIndexStats` operation returns statistics about the index's contents. For example: The vector count per namespace and the number of dimensions.