Class SqlTranslationServiceGrpc.SqlTranslationServiceBlockingStub (0.23.0)

public static final class SqlTranslationServiceGrpc.SqlTranslationServiceBlockingStub extends AbstractBlockingStub<SqlTranslationServiceGrpc.SqlTranslationServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service SqlTranslationService.

Provides other SQL dialects to GoogleSQL translation operations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SqlTranslationServiceGrpc.SqlTranslationServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

translateQuery(TranslateQueryRequest request)

public TranslateQueryResponse translateQuery(TranslateQueryRequest request)

Translates input queries from source dialects to GoogleSQL.

Parameter
NameDescription
requestTranslateQueryRequest
Returns
TypeDescription
TranslateQueryResponse