Package io.datarouter.filesystem.util
Class PathbeanBatchingScanner
java.lang.Object
io.datarouter.scanner.BaseScanner<R>
io.datarouter.scanner.BaseLinkedScanner<io.datarouter.storage.file.Pathbean,List<io.datarouter.storage.file.Pathbean>>
io.datarouter.filesystem.util.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
-
Constructor Summary
Constructors Constructor Description PathbeanBatchingScanner(io.datarouter.scanner.Scanner<io.datarouter.storage.file.Pathbean> input, long maxBytes, int maxPathbeans) -
Method Summary
Modifier and Type Method Description booleanadvanceInternal()Methods 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, collate, collate, collect, collect, concat, concatIter, count, deduplicateConsecutive, 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, parallel, prefetch, reduce, reduce, retain, reverse, sample, shuffle, skip, sort, sort, splitBy, stream, streamDoubles, streamInts, streamLongs, take, then, 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>>
-