Create a query paginator that'll split the query into smaller chunks.
Example usage:
Queryquery=Query.create(...).range("a","z");Query.QueryPaginatorpaginator=query.createQueryPaginator(100);ByteStringlastSeenRowKey=ByteString.EMPTY;do{List<Row>rows=client.readRowsCallable().all().call(paginator.getNextQuery());for(Rowrow:rows){// do some processinglastSeenRow=row;}}while(paginator.advance(lastSeenRowKey));
Sets the filter to apply to each row. Only one filter can be set at a time. To use multiple
filters, please use Filters#interleave() or Filters#chain().
The row will be streamed in reverse lexiographic order of the keys. The row key ranges are
still expected to be oriented the same way as forwards. ie [a,c] where a <= c. The row content
will remain unchanged from the ordering forward scans. This is particularly useful to get the
last N records before a key:
Split this query into multiple queries that can be evenly distributed across Bigtable nodes and
be run in parallel. This method takes the results from com.google.cloud.bigtable.data.v2.BigtableDataClient#sampleRowKeysAsync(String) to divide this
query into a set of disjoint queries that logically combine into form this query.
Split this query into multiple queries that logically combine into this query. This is intended
to be used by map reduce style frameworks like Beam to split a query across multiple workers.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]