Class SqlTranslationServiceGrpc.SqlTranslationServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<SqlTranslationServiceGrpc.SqlTranslationServiceStub>
com.google.cloud.bigquery.migration.v2alpha.SqlTranslationServiceGrpc.SqlTranslationServiceStub
- Enclosing class:
- SqlTranslationServiceGrpc
public static final class SqlTranslationServiceGrpc.SqlTranslationServiceStub
extends io.grpc.stub.AbstractAsyncStub<SqlTranslationServiceGrpc.SqlTranslationServiceStub>
A stub to allow clients to do asynchronous rpc calls to service SqlTranslationService.
Provides other SQL dialects to GoogleSQL translation operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidtranslateQuery(TranslateQueryRequest request, io.grpc.stub.StreamObserver<TranslateQueryResponse> responseObserver) Translates input queries from source dialects to GoogleSQL.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SqlTranslationServiceGrpc.SqlTranslationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SqlTranslationServiceGrpc.SqlTranslationServiceStub>
-
translateQuery
public void translateQuery(TranslateQueryRequest request, io.grpc.stub.StreamObserver<TranslateQueryResponse> responseObserver) Translates input queries from source dialects to GoogleSQL.
-