Class SqlTranslationServiceGrpc.SqlTranslationServiceStub (0.16.0)

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

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>