Class InternalStrideScanner<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
java.lang.Object
io.datarouter.scanner.BaseScanner<InternalStrideSample<PK>>
io.datarouter.storage.op.scan.stride.internal.InternalStrideScanner<PK>
- All Implemented Interfaces:
io.datarouter.scanner.Scanner<InternalStrideSample<PK>>,Closeable,AutoCloseable
public class InternalStrideScanner<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>>
extends io.datarouter.scanner.BaseScanner<InternalStrideSample<PK>>
-
Field Summary
Fields inherited from class io.datarouter.scanner.BaseScanner
current -
Constructor Summary
ConstructorsConstructorDescriptionInternalStrideScanner(SortedStorageReader<PK, ?> node, Supplier<Boolean> shouldStop, io.datarouter.util.tuple.Range<PK> range, int stride, int batchSize, boolean log) -
Method Summary
Methods inherited from class io.datarouter.scanner.BaseScanner
currentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.scanner.Scanner
advanceUntil, advanceWhile, allMatch, anyMatch, append, append, append, apply, batch, batchByMinSize, close, collate, collate, collateV2, collect, collect, concat, concatIter, count, deduplicateConsecutive, deduplicateConsecutiveBy, deduplicateConsecutiveBy, distinct, distinctBy, each, exclude, findFirst, findLast, findMax, findMin, flush, forEach, groupBy, groupBy, groupBy, groupBy, hasAny, include, isEmpty, iterable, iterator, limit, link, list, listTo, map, maxN, minN, noneMatch, parallelOrdered, parallelOrdered, parallelUnordered, parallelUnordered, peekFirst, periodic, periodic, prefetch, reduce, reduce, retain, reverse, sample, shuffle, skip, sort, sort, splitBy, splitBy, stream, streamDoubles, streamInts, streamLongs, take, then, timeNanos, toArray, toMap, toMap, toMap, toMap, toMap, toMapSupplied, toMapSupplied, toMapSupplied, toMapSupplied
-
Constructor Details
-
InternalStrideScanner
public InternalStrideScanner(SortedStorageReader<PK, ?> node, Supplier<Boolean> shouldStop, io.datarouter.util.tuple.Range<PK> range, int stride, int batchSize, boolean log)
-
-
Method Details
-
advance
public boolean advance()
-