try { boolean more = false; ScannerContext scannerContext = ScannerContext.newBuilder().setBatchLimit(1).build();
ScannerContext.newBuilder().setBatchLimit(compactionKVMax).build();
boolean hasMore; ScannerContext scannerContext = ScannerContext.newBuilder().setBatchLimit(compactionKVMax).build(); do { hasMore = scanner.next(cells, scannerContext);
RegionScanner scanner = region.getScanner(s); List<Cell> results = new ArrayList<>(); ScannerContext scannerContext = ScannerContext.newBuilder().setBatchLimit(2).build(); scanner.next(results, scannerContext); for (Cell keyValue : results) {
@Override public boolean next(List<Cell> cells) throws IOException { return next(cells, ScannerContext.newBuilder().setBatchLimit(batchSize).build()); }
@Override public boolean next(List<Cell> cells) throws IOException { return next(cells, ScannerContext.newBuilder().setBatchLimit(batchSize).build()); }
@Override public boolean nextRaw(List<Cell> cells) throws IOException { return nextRaw(cells, ScannerContext.newBuilder().setBatchLimit(batchSize).build()); }
@Override public boolean next(List<Cell> cells) throws IOException { return next(cells, ScannerContext.newBuilder().setBatchLimit(batchSize).build()); }
@Override public boolean nextRaw(List<Cell> cells) throws IOException { return nextRaw(cells, ScannerContext.newBuilder().setBatchLimit(batchSize).build()); }
@Override public boolean nextRaw(List<Cell> cells) throws IOException { return nextRaw(cells, ScannerContext.newBuilder().setBatchLimit(batchSize).build()); }
boolean finished = false; ScannerContext scannerContext = ScannerContext.newBuilder().setBatchLimit(compactionKVMax).build(); throughputController.start(compactionName); KeyValueScanner kvs = (scanner instanceof KeyValueScanner)? (KeyValueScanner)scanner : null;
contextBuilder.setTimeLimit(timeScope, timeLimit); contextBuilder.setTrackMetrics(trackMetrics); ScannerContext scannerContext = contextBuilder.build(); boolean limitReached = false; while (numOfResults < maxResults) {
boolean hasMore; ScannerContext scannerContext = ScannerContext.newBuilder().setBatchLimit(compactionKVMax).build();
ScannerContext.newBuilder().setBatchLimit(compactionKVMax).build(); List<Cell> cells = new ArrayList<>(); boolean hasMore;
boolean hasMore; ScannerContext scannerContext = ScannerContext.newBuilder().setBatchLimit(compactionKVMax).build(); do { hasMore = scanner.next(cells, scannerContext);
ScannerContext scannerContext = ScannerContext.newBuilder().setBatchLimit(3).build(); while (true) { boolean more = s.next(results, scannerContext);
RegionScanner scanner = region.getScanner(s); List<Cell> results = new ArrayList<>(); ScannerContext scannerContext = ScannerContext.newBuilder().setBatchLimit(2).build(); scanner.next(results, scannerContext); for (Cell keyValue : results) {
.setBatchLimit(scan.getBatch()).build(); this.stopRow = scan.getStopRow(); this.includeStopRow = scan.includeStopRow();
ScannerContext.newBuilder().setTimeLimit(LimitScope.BETWEEN_CELLS, -1).build())); assertTrue(cells.isEmpty()); scanner.shipped(); ScannerContext.newBuilder().setTimeLimit(LimitScope.BETWEEN_CELLS, -1).build())); Result result = Result.create(cells); assertEquals(VALUE_PREFIX + 999, Bytes.toString(result.getValue(FAMILY, QUAL)));
public MemStoreSegmentsIterator(int compactionKVMax) throws IOException { this.scannerContext = ScannerContext.newBuilder().setBatchLimit(compactionKVMax).build(); }