Class SqlTranslationServiceGrpc.SqlTranslationServiceStub (0.23.0)

public static final class SqlTranslationServiceGrpc.SqlTranslationServiceStub extends AbstractAsyncStub<SqlTranslationServiceGrpc.SqlTranslationServiceStub>

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

Provides other SQL dialects to GoogleSQL translation operations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SqlTranslationServiceGrpc.SqlTranslationServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

translateQuery(TranslateQueryRequest request, StreamObserver<TranslateQueryResponse> responseObserver)

public void translateQuery(TranslateQueryRequest request, StreamObserver<TranslateQueryResponse> responseObserver)

Translates input queries from source dialects to GoogleSQL.

Parameters
NameDescription
requestTranslateQueryRequest
responseObserverio.grpc.stub.StreamObserver<TranslateQueryResponse>