Class ExecuteQueryCallable
java.lang.Object
com.google.api.gax.rpc.ServerStreamingCallable<ExecuteQueryCallContext,com.google.cloud.bigtable.data.v2.internal.SqlRow>
com.google.cloud.bigtable.data.v2.stub.sql.ExecuteQueryCallable
@InternalApi
public class ExecuteQueryCallable
extends com.google.api.gax.rpc.ServerStreamingCallable<ExecuteQueryCallContext,com.google.cloud.bigtable.data.v2.internal.SqlRow>
Callable that creates
SqlServerStreams from ExecuteQueryRequests.
This handles setting up the future that is used to allow users to access metadata.
This class is considered an internal implementation detail and not meant to be used by applications.
-
Constructor Summary
ConstructorsConstructorDescriptionExecuteQueryCallable(com.google.api.gax.rpc.ServerStreamingCallable<ExecuteQueryCallContext, com.google.cloud.bigtable.data.v2.internal.SqlRow> inner, com.google.cloud.bigtable.data.v2.internal.RequestContext requestContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidcall(ExecuteQueryCallContext callContext, com.google.api.gax.rpc.ResponseObserver<com.google.cloud.bigtable.data.v2.internal.SqlRow> responseObserver, com.google.api.gax.rpc.ApiCallContext apiCallContext) Methods inherited from class com.google.api.gax.rpc.ServerStreamingCallable
all, blockingServerStreamingCall, blockingServerStreamingCall, call, call, call, first, serverStreamingCall, serverStreamingCall, withDefaultCallContext
-
Constructor Details
-
ExecuteQueryCallable
public ExecuteQueryCallable(com.google.api.gax.rpc.ServerStreamingCallable<ExecuteQueryCallContext, com.google.cloud.bigtable.data.v2.internal.SqlRow> inner, com.google.cloud.bigtable.data.v2.internal.RequestContext requestContext)
-
-
Method Details
-
call
-
call
public void call(ExecuteQueryCallContext callContext, com.google.api.gax.rpc.ResponseObserver<com.google.cloud.bigtable.data.v2.internal.SqlRow> responseObserver, com.google.api.gax.rpc.ApiCallContext apiCallContext) - Specified by:
callin classcom.google.api.gax.rpc.ServerStreamingCallable<ExecuteQueryCallContext,com.google.cloud.bigtable.data.v2.internal.SqlRow>
-