Class SqlTranslationServiceGrpc.SqlTranslationServiceFutureStub (0.40.0)

public static final class SqlTranslationServiceGrpc.SqlTranslationServiceFutureStub extends AbstractFutureStub<SqlTranslationServiceGrpc.SqlTranslationServiceFutureStub>

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

Provides other SQL dialects to GoogleSQL translation operations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SqlTranslationServiceGrpc.SqlTranslationServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected SqlTranslationServiceGrpc.SqlTranslationServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
SqlTranslationServiceGrpc.SqlTranslationServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

translateQuery(TranslateQueryRequest request)

public ListenableFuture<TranslateQueryResponse> translateQuery(TranslateQueryRequest request)

Translates input queries from source dialects to GoogleSQL.

Parameter
NameDescription
requestTranslateQueryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<TranslateQueryResponse>