Package io.datarouter.filesystem.util
Class PathbeanBatchingScanner
- All Implemented Interfaces:
io.datarouter.scanner.Scanner<List<io.datarouter.storage.file.Pathbean>>,Closeable,AutoCloseable
public class PathbeanBatchingScanner
extends io.datarouter.scanner.BaseLinkedScanner<io.datarouter.storage.file.Pathbean,List<io.datarouter.storage.file.Pathbean>>
-
Field Summary
Fields inherited from class io.datarouter.scanner.BaseLinkedScanner
closed, inputFields inherited from class io.datarouter.scanner.BaseScanner
current -
Constructor Summary
ConstructorsConstructorDescriptionPathbeanBatchingScanner(io.datarouter.scanner.Scanner<io.datarouter.storage.file.Pathbean> input, long maxBytes, int maxPathbeans) -
Method Summary
Methods inherited from class io.datarouter.scanner.BaseLinkedScanner
advance, close, closeInternalMethods 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, collate, collate, collateV2, collect, collect, concat, concatIter, concatOpt, count, countInt, 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, merge, minN, next, noneMatch, parallelOrdered, 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
-
PathbeanBatchingScanner
public PathbeanBatchingScanner(io.datarouter.scanner.Scanner<io.datarouter.storage.file.Pathbean> input, long maxBytes, int maxPathbeans)
-
-
Method Details
-
advanceInternal
public boolean advanceInternal()- Specified by:
advanceInternalin classio.datarouter.scanner.BaseLinkedScanner<io.datarouter.storage.file.Pathbean,List<io.datarouter.storage.file.Pathbean>>
-