@InternalApi(value="For internal usage only") public interface BulkReadWrapper extends AutoCloseable
For internal use only - public for technical reasons.
Modifier and Type | Method and Description |
---|---|
com.google.api.core.ApiFuture<org.apache.hadoop.hbase.client.Result> |
add(com.google.protobuf.ByteString rowKey,
com.google.cloud.bigtable.data.v2.models.Filters.Filter filter)
Adds a
rowKey to a batch read row request with an optional Filters.Filter . |
void |
close()
Closes the wrapper by preventing new elements from being added, then sending outstanding
elements.
|
void |
sendOutstanding()
Sends all remaining requests to the server.
|
com.google.api.core.ApiFuture<org.apache.hadoop.hbase.client.Result> add(com.google.protobuf.ByteString rowKey, @Nullable com.google.cloud.bigtable.data.v2.models.Filters.Filter filter)
rowKey
to a batch read row request with an optional Filters.Filter
. The
returned future will be resolved when the batch response is received.void sendOutstanding()
void close()
close
in interface AutoCloseable