Class SqlTranslationServiceGrpc.SqlTranslationServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SqlTranslationServiceGrpc.SqlTranslationServiceBlockingV2Stub>
com.google.cloud.bigquery.migration.v2alpha.SqlTranslationServiceGrpc.SqlTranslationServiceBlockingV2Stub
- Enclosing class:
- SqlTranslationServiceGrpc
public static final class SqlTranslationServiceGrpc.SqlTranslationServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<SqlTranslationServiceGrpc.SqlTranslationServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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) translateQuery(TranslateQueryRequest request) Translates input queries from source dialects to GoogleSQL.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.SqlTranslationServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SqlTranslationServiceGrpc.SqlTranslationServiceBlockingV2Stub>
-
translateQuery
public TranslateQueryResponse translateQuery(TranslateQueryRequest request) throws io.grpc.StatusException Translates input queries from source dialects to GoogleSQL.
- Throws:
io.grpc.StatusException
-