Package io.datarouter.scanner
Class PrefetchingScanner<T>
java.lang.Object
io.datarouter.scanner.BaseScanner<R>
io.datarouter.scanner.BaseLinkedScanner<T,List<T>>
io.datarouter.scanner.PrefetchingScanner<T>
- All Implemented Interfaces:
Scanner<List<T>>,Closeable,AutoCloseable
-
Field Summary
Fields inherited from class io.datarouter.scanner.BaseLinkedScanner
closed, inputFields inherited from class io.datarouter.scanner.BaseScanner
current -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidExtend to close internal resources before the input scanner is closed.Methods inherited from class io.datarouter.scanner.BaseLinkedScanner
advance, closeMethods 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, 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
-
PrefetchingScanner
-
-
Method Details
-
advanceInternal
public boolean advanceInternal()- Specified by:
advanceInternalin classBaseLinkedScanner<T,List<T>>
-
closeInternal
protected void closeInternal()Description copied from class:BaseLinkedScannerExtend to close internal resources before the input scanner is closed.- Overrides:
closeInternalin classBaseLinkedScanner<T,List<T>>
-