public class ResponseQueueReader extends Object
Constructor and Description |
---|
ResponseQueueReader(int readPartialRowTimeoutMillis,
int capacityCap,
int outstandingRequestCount,
int batchRequestSize,
io.grpc.ClientCall<?,ReadRowsResponse> call) |
Modifier and Type | Method and Description |
---|---|
void |
add(com.google.cloud.bigtable.grpc.scanner.ResultQueueEntry<ReadRowsResponse> entry) |
int |
available() |
Row |
getNextMergedRow()
Get the next complete Row object from the response queue.
|
public ResponseQueueReader(int readPartialRowTimeoutMillis, int capacityCap, int outstandingRequestCount, int batchRequestSize, io.grpc.ClientCall<?,ReadRowsResponse> call)
public Row getNextMergedRow() throws IOException
IOException
- On errors.public int available()
public void add(com.google.cloud.bigtable.grpc.scanner.ResultQueueEntry<ReadRowsResponse> entry) throws InterruptedException
InterruptedException
Copyright © 2015. All rights reserved.