@InternalApi public class RowMergingCallable<RowT> extends com.google.api.gax.rpc.ServerStreamingCallable<ReadRowsRequest,RowT>
ReadRowsResponse.CellChunk
s into logical rows. This class delegates all
of the work to gax's ReframingResponseObserver
and the logic to RowMerger
.
This class is considered an internal implementation detail and not meant to be used by applications.
Constructor and Description |
---|
RowMergingCallable(com.google.api.gax.rpc.ServerStreamingCallable<ReadRowsRequest,ReadRowsResponse> inner,
RowAdapter<RowT> rowAdapter) |
Modifier and Type | Method and Description |
---|---|
void |
call(ReadRowsRequest request,
com.google.api.gax.rpc.ResponseObserver<RowT> responseObserver,
com.google.api.gax.rpc.ApiCallContext context) |
public RowMergingCallable(com.google.api.gax.rpc.ServerStreamingCallable<ReadRowsRequest,ReadRowsResponse> inner, RowAdapter<RowT> rowAdapter)
public void call(ReadRowsRequest request, com.google.api.gax.rpc.ResponseObserver<RowT> responseObserver, com.google.api.gax.rpc.ApiCallContext context)
call
in class com.google.api.gax.rpc.ServerStreamingCallable<ReadRowsRequest,RowT>
Copyright © 2019 Google LLC. All rights reserved.