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.SqlTranslationServiceBlockingStubMethods
build(Channel channel, CallOptions callOptions)
protected SqlTranslationServiceGrpc.SqlTranslationServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
SqlTranslationServiceGrpc.SqlTranslationServiceBlockingStub |
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 | |
---|---|
Name | Description |
request | TranslateQueryRequest |
Returns | |
---|---|
Type | Description |
TranslateQueryResponse |