Class MatchServiceGrpc.MatchServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<MatchServiceGrpc.MatchServiceFutureStub>
-
- com.google.cloud.aiplatform.v1beta1.MatchServiceGrpc.MatchServiceFutureStub
-
- Enclosing class:
- MatchServiceGrpc
public static final class MatchServiceGrpc.MatchServiceFutureStub extends io.grpc.stub.AbstractFutureStub<MatchServiceGrpc.MatchServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service MatchService.MatchService is a Google managed service for efficient vector similarity search at scale.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MatchServiceGrpc.MatchServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<FindNeighborsResponse>
findNeighbors(FindNeighborsRequest request)
Finds the nearest neighbors of each vector within the request.com.google.common.util.concurrent.ListenableFuture<ReadIndexDatapointsResponse>
readIndexDatapoints(ReadIndexDatapointsRequest request)
Reads the datapoints/vectors of the given IDs.
-
-
-
Method Detail
-
build
protected MatchServiceGrpc.MatchServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<MatchServiceGrpc.MatchServiceFutureStub>
-
findNeighbors
public com.google.common.util.concurrent.ListenableFuture<FindNeighborsResponse> findNeighbors(FindNeighborsRequest request)
Finds the nearest neighbors of each vector within the request.
-
readIndexDatapoints
public com.google.common.util.concurrent.ListenableFuture<ReadIndexDatapointsResponse> readIndexDatapoints(ReadIndexDatapointsRequest request)
Reads the datapoints/vectors of the given IDs. A maximum of 1000 datapoints can be retrieved in a batch.
-
-