public static final class VectorServiceGrpc.VectorServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<VectorServiceGrpc.VectorServiceBlockingStub>
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.VectorServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
DeleteResponse |
delete(DeleteRequest request)
Delete
The `Delete` operation deletes vectors, by id, from a single namespace.
|
DescribeIndexStatsResponse |
describeIndexStats(DescribeIndexStatsRequest request)
DescribeIndexStats
The `DescribeIndexStats` operation returns statistics about the index's contents.
|
FetchResponse |
fetch(FetchRequest request)
Fetch
The `Fetch` operation looks up and returns vectors, by id, from a single namespace.
|
QueryResponse |
query(QueryRequest request)
Query
The `Query` operation searches a namespace, using one or more query vectors.
|
UpsertResponse |
upsert(UpsertRequest request)
Upsert
The `Upsert` operation writes vectors into a namespace.
|
protected VectorServiceGrpc.VectorServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<VectorServiceGrpc.VectorServiceBlockingStub>public 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 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 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 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 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.