Class ReadChangeStreamUserCallable<ChangeStreamRecordT>
java.lang.Object
com.google.api.gax.rpc.ServerStreamingCallable<ReadChangeStreamQuery,ChangeStreamRecordT>
com.google.cloud.bigtable.data.v2.stub.changestream.ReadChangeStreamUserCallable<ChangeStreamRecordT>
@InternalApi("Used in Changestream beam pipeline.")
public class ReadChangeStreamUserCallable<ChangeStreamRecordT>
extends com.google.api.gax.rpc.ServerStreamingCallable<ReadChangeStreamQuery,ChangeStreamRecordT>
A ServerStreamingCallable that converts a
ReadChangeStreamQuery
to a ReadChangeStreamRequest
.-
Constructor Summary
ConstructorDescriptionReadChangeStreamUserCallable
(com.google.api.gax.rpc.ServerStreamingCallable<com.google.bigtable.v2.ReadChangeStreamRequest, ChangeStreamRecordT> inner, com.google.cloud.bigtable.data.v2.internal.RequestContext requestContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
call
(ReadChangeStreamQuery request, com.google.api.gax.rpc.ResponseObserver<ChangeStreamRecordT> responseObserver, com.google.api.gax.rpc.ApiCallContext context) Methods inherited from class com.google.api.gax.rpc.ServerStreamingCallable
all, blockingServerStreamingCall, blockingServerStreamingCall, call, call, call, first, serverStreamingCall, serverStreamingCall, withDefaultCallContext
-
Constructor Details
-
ReadChangeStreamUserCallable
public ReadChangeStreamUserCallable(com.google.api.gax.rpc.ServerStreamingCallable<com.google.bigtable.v2.ReadChangeStreamRequest, ChangeStreamRecordT> inner, com.google.cloud.bigtable.data.v2.internal.RequestContext requestContext)
-
-
Method Details
-
call
public void call(ReadChangeStreamQuery request, com.google.api.gax.rpc.ResponseObserver<ChangeStreamRecordT> responseObserver, com.google.api.gax.rpc.ApiCallContext context) - Specified by:
call
in classcom.google.api.gax.rpc.ServerStreamingCallable<ReadChangeStreamQuery,
ChangeStreamRecordT>
-