Class SqlTranslationServiceGrpc.SqlTranslationServiceFutureStub (0.55.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request TranslateQueryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<TranslateQueryResponse>