Class SearchServiceGrpc.SearchServiceFutureStub (0.41.0)

public static final class SearchServiceGrpc.SearchServiceFutureStub extends AbstractFutureStub<SearchServiceGrpc.SearchServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service SearchService.

Service for search.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SearchServiceGrpc.SearchServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected SearchServiceGrpc.SearchServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SearchServiceGrpc.SearchServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

search(SearchRequest request)

public ListenableFuture<SearchResponse> search(SearchRequest request)

Performs a search.

Parameter
Name Description
request SearchRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SearchResponse>