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

    Fields inherited from class io.datarouter.scanner.BaseLinkedScanner

    closed, input

    Fields inherited from class io.datarouter.scanner.BaseScanner

    current
  • 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
    boolean advanceInternal()  

    Methods inherited from class io.datarouter.scanner.BaseLinkedScanner

    advance, close, closeInternal

    Methods inherited from class io.datarouter.scanner.BaseScanner

    current

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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, 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:
      advanceInternal in class io.datarouter.scanner.BaseLinkedScanner<io.datarouter.storage.file.Pathbean,​List<io.datarouter.storage.file.Pathbean>>