@Override public Map<Cell, Value> get(TableReference tableRef, Map<Cell, Long> timestampByCell) { return batchingQueryRunner.runTask( timestampByCell, BatchingStrategies.forMap(), AccumulatorStrategies.forMap(), cellBatch -> runReadAndExtractResults(tableRef, table -> table.getLatestCells(cellBatch, true))); }
private Map<Cell, Value> getRowsBatching(TableReference tableRef, Iterable<byte[]> rows, ColumnSelection columnSelection, long timestamp) { return batchingQueryRunner.runTask( rows, BatchingStrategies.forIterable(), AccumulatorStrategies.forMap(), rowBatch -> runReadAndExtractResults(tableRef, table -> table.getLatestRows(rowBatch, columnSelection, timestamp, true))); }
@Override public Map<Cell, Value> get(TableReference tableRef, Map<Cell, Long> timestampByCell) { return batchingQueryRunner.runTask( timestampByCell, BatchingStrategies.forMap(), AccumulatorStrategies.forMap(), cellBatch -> runReadAndExtractResults(tableRef, table -> table.getLatestCells(cellBatch, true))); }
private Map<Cell, Value> getRowsBatching(TableReference tableRef, Iterable<byte[]> rows, ColumnSelection columnSelection, long timestamp) { return batchingQueryRunner.runTask( rows, BatchingStrategies.forIterable(), AccumulatorStrategies.forMap(), rowBatch -> runReadAndExtractResults(tableRef, table -> table.getLatestRows(rowBatch, columnSelection, timestamp, true))); }