Index
All Classes and Interfaces|All Packages
A
- advance() - Method in class io.datarouter.scanner.ArrayScanner
- advance() - Method in class io.datarouter.scanner.BaseLinkedScanner
- advance() - Method in class io.datarouter.scanner.CollatingScanner
- advance() - Method in class io.datarouter.scanner.EmptyScanner
- advance() - Method in class io.datarouter.scanner.GeneratingScanner
- advance() - Method in class io.datarouter.scanner.IteratingScanner
- advance() - Method in class io.datarouter.scanner.IteratorScanner
- advance() - Method in class io.datarouter.scanner.ObjectScanner
- advance() - Method in class io.datarouter.scanner.PagingScanner
- advance() - Method in class io.datarouter.scanner.ParallelMappingScanner
- advance() - Method in class io.datarouter.scanner.RandomAccessScanner
- advance() - Method in class io.datarouter.scanner.ReverseListScanner
- advance() - Method in interface io.datarouter.scanner.Scanner
-
Try to update current to the next item, if there is one.
- advanceInternal() - Method in class io.datarouter.scanner.AdvanceUntilScanner
- advanceInternal() - Method in class io.datarouter.scanner.AdvanceWhileScanner
- advanceInternal() - Method in class io.datarouter.scanner.BaseLinkedScanner
- advanceInternal() - Method in class io.datarouter.scanner.BatchingScanner
- advanceInternal() - Method in class io.datarouter.scanner.ComparableScanner
- advanceInternal() - Method in class io.datarouter.scanner.ConcatenatingScanner
- advanceInternal() - Method in class io.datarouter.scanner.DeduplicatingConsecutiveScanner
- advanceInternal() - Method in class io.datarouter.scanner.DistinctScanner
- advanceInternal() - Method in class io.datarouter.scanner.EachScanner
- advanceInternal() - Method in class io.datarouter.scanner.FilteringScanner
- advanceInternal() - Method in class io.datarouter.scanner.LimitingScanner
- advanceInternal() - Method in class io.datarouter.scanner.MappingScanner
- advanceInternal() - Method in class io.datarouter.scanner.PrefetchingScanner
- advanceInternal() - Method in class io.datarouter.scanner.RetainingScanner
- advanceInternal() - Method in class io.datarouter.scanner.SamplingScanner
- advanceInternal() - Method in class io.datarouter.scanner.ShufflingScanner
- advanceInternal() - Method in class io.datarouter.scanner.SortingScanner
- advanceInternal() - Method in class io.datarouter.scanner.SplittingScanner
- advanceUntil(Predicate<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Stop the scanner when the predicate matches, excluding the item that caused it to stop.
- AdvanceUntilScanner<T> - Class in io.datarouter.scanner
- AdvanceUntilScanner(Scanner<T>, Predicate<? super T>) - Constructor for class io.datarouter.scanner.AdvanceUntilScanner
- advanceWhile(Predicate<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Stop the scanner when the predicated fails to match, excluding the item that caused it to stop.
- AdvanceWhileScanner<T> - Class in io.datarouter.scanner
- AdvanceWhileScanner(Scanner<T>, Predicate<? super T>) - Constructor for class io.datarouter.scanner.AdvanceWhileScanner
- allMatch(Scanner<T>, Predicate<? super T>) - Static method in class io.datarouter.scanner.ScannerTool
- allMatch(Predicate<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Apply the Predicate to every item in the Scanner, returning whether they all match.
- allMatch(Predicate<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- allowUnorderedResults - Variable in class io.datarouter.scanner.ParallelScannerContext
- ALWAYS - Enum constant in enum class io.datarouter.scanner.ScannerToMap.Replace
- anyMatch(Scanner<T>, Predicate<? super T>) - Static method in class io.datarouter.scanner.ScannerTool
- anyMatch(Predicate<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Apply the predicate to each item in the Scanner until one matches, returning true, otherwise return false if the Scanner is consumed with no matches.
- anyMatch(Predicate<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- append(Scanner<T>) - Method in interface io.datarouter.scanner.Scanner
-
Concats the provided Scanner after the current Scanner.
- append(Iterable<T>) - Method in interface io.datarouter.scanner.Scanner
-
Concats the provided Iterable items after the current Scanner.
- append(T...) - Method in interface io.datarouter.scanner.Scanner
-
Concats the provided array items after the current Scanner.
- apply(Scanner<T>) - Method in class io.datarouter.scanner.ScannerToGroups
- apply(Scanner<T>) - Method in class io.datarouter.scanner.ScannerToMap
- apply(Function<Scanner<T>, R>) - Method in interface io.datarouter.scanner.Scanner
-
Beta: Apply the provided Function which returns another Scanner.
- apply(T) - Method in class io.datarouter.scanner.ScannerConsumerFunction
- apply(T) - Method in class io.datarouter.scanner.ScannerPredicateFunction
- ArrayScanner<T> - Class in io.datarouter.scanner
- ArrayScanner(T[]) - Constructor for class io.datarouter.scanner.ArrayScanner
B
- BaseLinkedScanner<T,
R> - Class in io.datarouter.scanner -
Subclasses do not have to worry about closing the input scanner.
- BaseLinkedScanner(Scanner<T>) - Constructor for class io.datarouter.scanner.BaseLinkedScanner
- BaseScanner<T> - Class in io.datarouter.scanner
-
Simple Scanners can extend this to avoid declaring the "current" field and "getCurrent" method
- BaseScanner() - Constructor for class io.datarouter.scanner.BaseScanner
- batch(int) - Method in interface io.datarouter.scanner.Scanner
- BatchingScanner<T> - Class in io.datarouter.scanner
- BatchingScanner(Scanner<T>, int) - Constructor for class io.datarouter.scanner.BatchingScanner
C
- close() - Method in class io.datarouter.scanner.BaseLinkedScanner
- close() - Method in class io.datarouter.scanner.CollatingScanner
- close() - Method in interface io.datarouter.scanner.Scanner
-
Override to cleanup any resources.
- close() - Method in class io.datarouter.scanner.ScannerStream
- close() - Method in class io.datarouter.scanner.StreamScanner
- closed - Variable in class io.datarouter.scanner.BaseLinkedScanner
- closeInternal() - Method in class io.datarouter.scanner.BaseLinkedScanner
-
Extend to close internal resources before the input scanner is closed.
- closeInternal() - Method in class io.datarouter.scanner.ConcatenatingScanner
- closeInternal() - Method in class io.datarouter.scanner.PrefetchingScanner
- collate(Function<? super T, Scanner<R>>) - Method in interface io.datarouter.scanner.Scanner
-
Similar to the merge phase of a merge sort, assuming the input Scanners are sorted.
- collate(Function<? super T, Scanner<R>>, Comparator<? super R>) - Method in interface io.datarouter.scanner.Scanner
-
Similar to the merge phase of a merge sort, assuming the input Scanners are sorted.
- CollatingScanner<T> - Class in io.datarouter.scanner
- CollatingScanner(List<Scanner<T>>, Comparator<? super T>) - Constructor for class io.datarouter.scanner.CollatingScanner
- collect(Scanner<T>, Supplier<C>) - Static method in class io.datarouter.scanner.ScannerTool
- collect(Supplier<C>) - Method in interface io.datarouter.scanner.Scanner
- collect(Supplier<R>, BiConsumer<R, ? super T>, BiConsumer<R, R>) - Method in class io.datarouter.scanner.ScannerStream
- collect(Collector<? super T, A, R>) - Method in interface io.datarouter.scanner.Scanner
- collect(Collector<? super T, A, R>) - Method in class io.datarouter.scanner.ScannerStream
- ComparableScanner<T> - Class in io.datarouter.scanner
- ComparableScanner(Scanner<T>, Comparator<? super T>) - Constructor for class io.datarouter.scanner.ComparableScanner
- compareTo(Scanner<T>) - Method in class io.datarouter.scanner.ComparableScanner
- concat(Scanner<T>...) - Static method in interface io.datarouter.scanner.Scanner
-
Combine the items from multiple Scanners into a single Scanner.
- concat(Iterable<T>...) - Static method in interface io.datarouter.scanner.Scanner
-
Combine the items from multiple Iterables into a single Scanner.
- concat(Function<? super T, Scanner<R>>) - Method in class io.datarouter.scanner.ParallelScanner
- concat(Function<? super T, Scanner<R>>) - Method in interface io.datarouter.scanner.Scanner
-
Combine the items from multiple Scanners into a single Scanner.
- ConcatenatingScanner<T> - Class in io.datarouter.scanner
- ConcatenatingScanner(Scanner<Scanner<T>>) - Constructor for class io.datarouter.scanner.ConcatenatingScanner
- concatIter(Function<? super T, Iterable<R>>) - Method in interface io.datarouter.scanner.Scanner
-
Combine the items from multiple Iterables into a single Scanner.
- count() - Method in interface io.datarouter.scanner.Scanner
-
Advance through every item in the Scanner, returning the count of items seen.
- count() - Method in class io.datarouter.scanner.ScannerStream
- count(Scanner<T>) - Static method in class io.datarouter.scanner.ScannerTool
- current - Variable in class io.datarouter.scanner.BaseScanner
- current() - Method in class io.datarouter.scanner.ArrayScanner
- current() - Method in class io.datarouter.scanner.BaseScanner
- current() - Method in class io.datarouter.scanner.ObjectScanner
- current() - Method in class io.datarouter.scanner.RandomAccessScanner
- current() - Method in class io.datarouter.scanner.RetainingGroup
- current() - Method in class io.datarouter.scanner.ReverseListScanner
- current() - Method in interface io.datarouter.scanner.Scanner
D
- deduplicateConsecutive() - Method in interface io.datarouter.scanner.Scanner
-
Skips consecutive duplicates.
- deduplicateConsecutiveBy(Function<T, ?>) - Method in interface io.datarouter.scanner.Scanner
-
Skips items where the mapper outputs the same value as the previous item as compared with Objects::equals.
- deduplicateConsecutiveBy(Function<T, R>, BiPredicate<R, R>) - Method in interface io.datarouter.scanner.Scanner
-
Skips items where the mapper outputs the same value as the previous item when compared with the supplied equalsPredicate.
- DeduplicatingConsecutiveScanner<T,
R> - Class in io.datarouter.scanner - DeduplicatingConsecutiveScanner(Scanner<T>, Function<T, R>, BiPredicate<R, R>) - Constructor for class io.datarouter.scanner.DeduplicatingConsecutiveScanner
- distinct() - Method in interface io.datarouter.scanner.Scanner
- distinct() - Method in class io.datarouter.scanner.ScannerStream
- distinctBy(Function<T, ?>) - Method in interface io.datarouter.scanner.Scanner
- DistinctScanner<T,
R> - Class in io.datarouter.scanner - DistinctScanner(Scanner<T>, Function<T, R>) - Constructor for class io.datarouter.scanner.DistinctScanner
E
- each(Consumer<? super T>) - Method in class io.datarouter.scanner.ParallelScanner
- each(Consumer<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Calls Consumer::accept on each item.
- EachScanner<T> - Class in io.datarouter.scanner
- EachScanner(Scanner<T>, Consumer<? super T>) - Constructor for class io.datarouter.scanner.EachScanner
- empty() - Static method in interface io.datarouter.scanner.Scanner
- EmptyScanner<T> - Class in io.datarouter.scanner
- EmptyScanner() - Constructor for class io.datarouter.scanner.EmptyScanner
- enabled - Variable in class io.datarouter.scanner.ParallelScannerContext
- exclude(Predicate<? super T>) - Method in class io.datarouter.scanner.ParallelScanner
- exclude(Predicate<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Skips items where the Predicate returns true.
- executor - Variable in class io.datarouter.scanner.ParallelScannerContext
F
- filter(Predicate<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- FilteringScanner<T> - Class in io.datarouter.scanner
- FilteringScanner(Scanner<T>, Predicate<? super T>) - Constructor for class io.datarouter.scanner.FilteringScanner
- findAny() - Method in class io.datarouter.scanner.ScannerStream
- findFirst() - Method in interface io.datarouter.scanner.Scanner
-
Return the first item encountered in the Scanner, wrapped in an Optional, otherwise Optional.empty() if no items were found.
- findFirst() - Method in class io.datarouter.scanner.ScannerStream
- findFirst(Scanner<T>) - Static method in class io.datarouter.scanner.ScannerTool
- findLast() - Method in interface io.datarouter.scanner.Scanner
-
Advance through every item in the Scanner, returning the last item wrapped in an Optional, otherwise Optional.empty() if the Scanner had no items.
- findLast(Scanner<T>) - Static method in class io.datarouter.scanner.ScannerTool
- findMax(Comparator<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Advance through all items, retaining the maximum as computed by the Comparator and returning it.
- findMin(Comparator<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Advance through all items, retaining the minimum as computed by the Comparator and returning it.
- flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in class io.datarouter.scanner.ScannerStream
- flatMapToDouble(Function<? super T, ? extends DoubleStream>) - Method in class io.datarouter.scanner.ScannerStream
- flatMapToInt(Function<? super T, ? extends IntStream>) - Method in class io.datarouter.scanner.ScannerStream
- flatMapToLong(Function<? super T, ? extends LongStream>) - Method in class io.datarouter.scanner.ScannerStream
- flush(Scanner<T>, Consumer<List<T>>) - Static method in class io.datarouter.scanner.ScannerTool
- flush(Consumer<List<T>>) - Method in interface io.datarouter.scanner.Scanner
- forEach(Scanner<T>, Consumer<? super T>) - Static method in class io.datarouter.scanner.ScannerTool
- forEach(Consumer<? super T>) - Method in class io.datarouter.scanner.ParallelScanner
- forEach(Consumer<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Perform an operation on each item.
- forEach(Consumer<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- forEachOrdered(Consumer<? super T>) - Method in class io.datarouter.scanner.ScannerStream
G
- generate(Supplier<T>) - Static method in interface io.datarouter.scanner.Scanner
- GeneratingScanner<T> - Class in io.datarouter.scanner
- GeneratingScanner(Supplier<T>) - Constructor for class io.datarouter.scanner.GeneratingScanner
- get() - Method in class io.datarouter.scanner.Ref
- groupBy(Function<T, K>) - Method in interface io.datarouter.scanner.Scanner
- groupBy(Function<T, K>, Function<T, V>) - Method in interface io.datarouter.scanner.Scanner
- groupBy(Function<T, K>, Function<T, V>, Supplier<M>) - Method in interface io.datarouter.scanner.Scanner
- groupBy(Function<T, K>, Function<T, V>, Supplier<M>, Supplier<C>) - Method in interface io.datarouter.scanner.Scanner
H
- hasAny() - Method in interface io.datarouter.scanner.Scanner
-
Test whether the first advance() returns true.
- hasAny(Scanner<T>) - Static method in class io.datarouter.scanner.ScannerTool
- hasNext() - Method in class io.datarouter.scanner.ScannerIterator
I
- include(Predicate<? super T>) - Method in class io.datarouter.scanner.ParallelScanner
- include(Predicate<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Skips items where the Predicate returns false.
- input - Variable in class io.datarouter.scanner.BaseLinkedScanner
- io.datarouter.scanner - package io.datarouter.scanner
- isEmpty() - Method in interface io.datarouter.scanner.Scanner
-
Test whether the first advance() returns false.
- isEmpty(Scanner<T>) - Static method in class io.datarouter.scanner.ScannerTool
- isParallel() - Method in class io.datarouter.scanner.ScannerStream
- item - Variable in class io.datarouter.scanner.ScannerPredicateFunction.ScannerPredicateFunctionResult
- iterable() - Method in interface io.datarouter.scanner.Scanner
- IterableScanner - Class in io.datarouter.scanner
- IterableScanner() - Constructor for class io.datarouter.scanner.IterableScanner
- iterate(T, UnaryOperator<T>) - Static method in interface io.datarouter.scanner.Scanner
-
Generate a sequence where each item is calculated off the one before it.
- IteratingScanner<T> - Class in io.datarouter.scanner
- IteratingScanner(T, UnaryOperator<T>) - Constructor for class io.datarouter.scanner.IteratingScanner
- iterator() - Method in interface io.datarouter.scanner.Scanner
- iterator() - Method in class io.datarouter.scanner.ScannerStream
- IteratorScanner<T> - Class in io.datarouter.scanner
- IteratorScanner(Iterator<T>) - Constructor for class io.datarouter.scanner.IteratorScanner
L
- limit(long) - Method in interface io.datarouter.scanner.Scanner
-
Ends the Scanner when the limit has been reached.
- limit(long) - Method in class io.datarouter.scanner.ScannerStream
- LimitingScanner<T> - Class in io.datarouter.scanner
- LimitingScanner(Scanner<T>, long) - Constructor for class io.datarouter.scanner.LimitingScanner
- link(Function<Scanner<T>, BaseLinkedScanner<T, R>>) - Method in interface io.datarouter.scanner.Scanner
-
A caller can extend BaseLinkedScanner, which has exception handling logic, and fluently include it in the Scanner pipeline.
- list() - Method in interface io.datarouter.scanner.Scanner
- list(Scanner<T>) - Static method in class io.datarouter.scanner.ScannerTool
- listTo(Function<List<T>, R>) - Method in interface io.datarouter.scanner.Scanner
M
- map(Function<? super T, ? extends R>) - Method in class io.datarouter.scanner.ParallelScanner
- map(Function<? super T, ? extends R>) - Method in interface io.datarouter.scanner.Scanner
-
For each input item, outputs the result of Function::apply.
- map(Function<? super T, ? extends R>) - Method in class io.datarouter.scanner.ScannerStream
- MappingScanner<T,
R> - Class in io.datarouter.scanner - MappingScanner(Scanner<T>, Function<? super T, ? extends R>) - Constructor for class io.datarouter.scanner.MappingScanner
- mapToDouble(ToDoubleFunction<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- mapToInt(ToIntFunction<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- mapToLong(ToLongFunction<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- max(Scanner<T>, Comparator<? super T>) - Static method in class io.datarouter.scanner.ScannerTool
- max(Comparator<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- maxN(Comparator<? super T>, int) - Method in interface io.datarouter.scanner.Scanner
-
Retains the max N items as defined by the comparator and returns a Scanner of them in descending order.
- maxNDesc(Scanner<T>, Comparator<? super T>, int) - Static method in class io.datarouter.scanner.ScannerTool
- min(Scanner<T>, Comparator<? super T>) - Static method in class io.datarouter.scanner.ScannerTool
- min(Comparator<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- minN(Comparator<? super T>, int) - Method in interface io.datarouter.scanner.Scanner
-
Retains the min N items as defined by the comparator and returns a Scanner of them in ascending order.
- minNAsc(Scanner<T>, Comparator<? super T>, int) - Static method in class io.datarouter.scanner.ScannerTool
N
- nativeStream(Scanner<T>) - Static method in class io.datarouter.scanner.ScannerTool
- NaturalSortingScanner<T> - Class in io.datarouter.scanner
- NaturalSortingScanner(Scanner<T>) - Constructor for class io.datarouter.scanner.NaturalSortingScanner
- NEVER - Enum constant in enum class io.datarouter.scanner.ScannerToMap.Replace
- next() - Method in class io.datarouter.scanner.ScannerIterator
- nextPage(Optional<K>) - Method in class io.datarouter.scanner.PagingScanner
- nextParam(T) - Method in class io.datarouter.scanner.PagingScanner
-
Subclass should transform the last seen item into a key for the next request
- noneMatch(Scanner<T>, Predicate<? super T>) - Static method in class io.datarouter.scanner.ScannerTool
- noneMatch(Predicate<? super T>) - Method in interface io.datarouter.scanner.Scanner
-
Return false as soon as the Predicate passes, otherwise true if all items fail the Predicate.
- noneMatch(Predicate<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- NULL_KEYS - Enum constant in enum class io.datarouter.scanner.ScannerToMap.Replace
- NULL_VALUES - Enum constant in enum class io.datarouter.scanner.ScannerToMap.Replace
- numThreads - Variable in class io.datarouter.scanner.ParallelScannerContext
O
- ObjectScanner<T> - Class in io.datarouter.scanner
- ObjectScanner(T) - Constructor for class io.datarouter.scanner.ObjectScanner
- of() - Static method in class io.datarouter.scanner.ScannerToMap
- of(Iterable<T>) - Static method in class io.datarouter.scanner.IterableScanner
- of(Iterable<T>) - Static method in interface io.datarouter.scanner.Scanner
-
Create a Scanner of items in the Iterable.
- of(Function<T, K>) - Static method in class io.datarouter.scanner.ScannerToGroups
- of(Function<T, K>) - Static method in class io.datarouter.scanner.ScannerToMap
- of(Function<T, K>, Function<T, V>) - Static method in class io.datarouter.scanner.ScannerToGroups
- of(Function<T, K>, Function<T, V>) - Static method in class io.datarouter.scanner.ScannerToMap
- of(Function<T, K>, Function<T, V>, ScannerToMap.Replace) - Static method in class io.datarouter.scanner.ScannerToMap
- of(Function<T, K>, Function<T, V>, BinaryOperator<V>) - Static method in class io.datarouter.scanner.ScannerToMap
- of(Function<T, K>, Function<T, V>, Supplier<M>) - Static method in class io.datarouter.scanner.ScannerToGroups
- of(Function<T, K>, Function<T, V>, Supplier<M>, Supplier<C>) - Static method in class io.datarouter.scanner.ScannerToGroups
- of(Iterator<T>) - Static method in class io.datarouter.scanner.IteratorScanner
- of(Iterator<T>) - Static method in interface io.datarouter.scanner.Scanner
-
Create a Scanner of items in the Iterator.
- of(List<T>) - Static method in class io.datarouter.scanner.RandomAccessScanner
- of(List<T>) - Static method in class io.datarouter.scanner.ReverseListScanner
- of(Optional<T>) - Static method in class io.datarouter.scanner.OptionalScanner
- of(Stream<T>) - Static method in interface io.datarouter.scanner.Scanner
-
Create a Scanner of items in the Stream.
- of(Stream<T>) - Static method in class io.datarouter.scanner.StreamScanner
- of(T) - Static method in class io.datarouter.scanner.ObjectScanner
- of(T) - Static method in interface io.datarouter.scanner.Scanner
-
Convert an Object into a Scanner.
- of(T[]) - Static method in class io.datarouter.scanner.ArrayScanner
- of(T...) - Static method in interface io.datarouter.scanner.Scanner
-
Create a Scanner of items in the array.
- ofNullable(Iterable<T>) - Static method in class io.datarouter.scanner.IterableScanner
- ofNullable(T) - Static method in class io.datarouter.scanner.ObjectScanner
- ofNullable(T) - Static method in interface io.datarouter.scanner.Scanner
-
Convert an Object into a Scanner if non-null.
- ofSupplied(Function<T, K>, Function<T, V>, ScannerToMap.Replace, Supplier<M>) - Static method in class io.datarouter.scanner.ScannerToMap
- ofSupplied(Function<T, K>, Function<T, V>, BinaryOperator<V>, Supplier<M>) - Static method in class io.datarouter.scanner.ScannerToMap
- ofSupplied(Function<T, K>, Function<T, V>, Supplier<M>) - Static method in class io.datarouter.scanner.ScannerToMap
- ofSupplied(Function<T, K>, Supplier<M>) - Static method in class io.datarouter.scanner.ScannerToMap
- onClose(Runnable) - Method in class io.datarouter.scanner.ScannerStream
- OptionalScanner - Class in io.datarouter.scanner
- OptionalScanner() - Constructor for class io.datarouter.scanner.OptionalScanner
P
- pageSize - Variable in class io.datarouter.scanner.PagingScanner
- PagingScanner<K,
T> - Class in io.datarouter.scanner -
Base class for things that page through results by passing the last item as an exclusive start key for the next page
- PagingScanner(int) - Constructor for class io.datarouter.scanner.PagingScanner
- parallel() - Method in class io.datarouter.scanner.ScannerStream
- parallel(ParallelScannerContext) - Method in interface io.datarouter.scanner.Scanner
- ParallelMappingScanner<T,
R> - Class in io.datarouter.scanner - ParallelMappingScanner(Scanner<T>, boolean, ExecutorService, int, Function<? super T, ? extends R>) - Constructor for class io.datarouter.scanner.ParallelMappingScanner
- ParallelScanner<T> - Class in io.datarouter.scanner
- ParallelScanner(ParallelScannerContext, Scanner<T>) - Constructor for class io.datarouter.scanner.ParallelScanner
- ParallelScannerContext - Class in io.datarouter.scanner
- ParallelScannerContext(ExecutorService, int, boolean) - Constructor for class io.datarouter.scanner.ParallelScannerContext
- ParallelScannerContext(ExecutorService, int, boolean, boolean) - Constructor for class io.datarouter.scanner.ParallelScannerContext
- passes - Variable in class io.datarouter.scanner.ScannerPredicateFunction.ScannerPredicateFunctionResult
- peek(Consumer<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- peekBack(int) - Method in class io.datarouter.scanner.RetainingGroup
-
peekBack(0) == current() peekBack(n) == nth item before current
- prefetch(ExecutorService, int) - Method in interface io.datarouter.scanner.Scanner
- PrefetchingScanner<T> - Class in io.datarouter.scanner
- PrefetchingScanner(Scanner<T>, ExecutorService, int) - Constructor for class io.datarouter.scanner.PrefetchingScanner
- previous() - Method in class io.datarouter.scanner.RetainingGroup
R
- RandomAccessScanner<T> - Class in io.datarouter.scanner
-
Avoid an intermediate Iterator when scanning a List with RandomAccess layout.
- RandomAccessScanner(List<T>) - Constructor for class io.datarouter.scanner.RandomAccessScanner
- reduce(Scanner<T>, BinaryOperator<T>) - Static method in class io.datarouter.scanner.ScannerTool
- reduce(Scanner<T>, T, BinaryOperator<T>) - Static method in class io.datarouter.scanner.ScannerTool
- reduce(BinaryOperator<T>) - Method in interface io.datarouter.scanner.Scanner
- reduce(BinaryOperator<T>) - Method in class io.datarouter.scanner.ScannerStream
- reduce(T, BinaryOperator<T>) - Method in interface io.datarouter.scanner.Scanner
- reduce(T, BinaryOperator<T>) - Method in class io.datarouter.scanner.ScannerStream
- reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in class io.datarouter.scanner.ScannerStream
- Ref<T> - Class in io.datarouter.scanner
-
Lightweight alternative to AtomicReference for storing a mutable reference.
- Ref(T) - Constructor for class io.datarouter.scanner.Ref
- remove() - Method in class io.datarouter.scanner.ScannerIterator
- retain(int) - Method in interface io.datarouter.scanner.Scanner
-
For retaining a window of N previous items.
- RetainingGroup<T> - Class in io.datarouter.scanner
-
Window object returned by
RetainingScanner - RetainingGroup(LinkedList<T>) - Constructor for class io.datarouter.scanner.RetainingGroup
- RetainingScanner<T> - Class in io.datarouter.scanner
- RetainingScanner(Scanner<T>, int) - Constructor for class io.datarouter.scanner.RetainingScanner
- reverse() - Method in interface io.datarouter.scanner.Scanner
-
Collect all items into an List and return a Scanner that iterates through them backwards.
- ReverseListScanner<T> - Class in io.datarouter.scanner
-
Avoid an intermediate Iterator when scanning a List with RandomAccess layout.
- ReverseListScanner(List<T>) - Constructor for class io.datarouter.scanner.ReverseListScanner
S
- sample(long, boolean) - Method in interface io.datarouter.scanner.Scanner
-
Return every Nth item.
- SamplingScanner<T> - Class in io.datarouter.scanner
- SamplingScanner(Scanner<T>, long, boolean) - Constructor for class io.datarouter.scanner.SamplingScanner
- Scanner<T> - Interface in io.datarouter.scanner
-
A form of iterator that operates as lazily as possible, not knowing if the next item is available until advancing and dropping the reference to the previous item.
- ScannerConsumerFunction<T> - Class in io.datarouter.scanner
- ScannerConsumerFunction(Consumer<? super T>) - Constructor for class io.datarouter.scanner.ScannerConsumerFunction
- ScannerIterator<T> - Class in io.datarouter.scanner
- ScannerIterator(Scanner<T>) - Constructor for class io.datarouter.scanner.ScannerIterator
- ScannerPredicateFunction<T> - Class in io.datarouter.scanner
- ScannerPredicateFunction(Predicate<? super T>) - Constructor for class io.datarouter.scanner.ScannerPredicateFunction
- ScannerPredicateFunction.ScannerPredicateFunctionResult<T> - Class in io.datarouter.scanner
- ScannerPredicateFunctionResult(T, boolean) - Constructor for class io.datarouter.scanner.ScannerPredicateFunction.ScannerPredicateFunctionResult
- ScannerStream<T> - Class in io.datarouter.scanner
-
Wrapper around a Scanner to allow closing it without explicitly closing the Stream.
- ScannerStream(Scanner<T>) - Constructor for class io.datarouter.scanner.ScannerStream
- ScannerToGroups<T,
K, V, C extends Collection<V>, M extends Map<K, C>> - Class in io.datarouter.scanner - ScannerToMap<T,
K, V, M extends Map<K, V>> - Class in io.datarouter.scanner - ScannerToMap.Replace - Enum Class in io.datarouter.scanner
- ScannerTool - Class in io.datarouter.scanner
- ScannerTool() - Constructor for class io.datarouter.scanner.ScannerTool
- sequential() - Method in class io.datarouter.scanner.ScannerStream
- set(T) - Method in class io.datarouter.scanner.Ref
- shuffle() - Method in interface io.datarouter.scanner.Scanner
- ShufflingScanner<T> - Class in io.datarouter.scanner
- ShufflingScanner(Scanner<T>) - Constructor for class io.datarouter.scanner.ShufflingScanner
- singleton() - Static method in class io.datarouter.scanner.EmptyScanner
- skip(long) - Method in interface io.datarouter.scanner.Scanner
-
Skip the leading items from the Scanner.
- skip(long) - Method in class io.datarouter.scanner.ScannerStream
- skip(Scanner<T>, long) - Static method in class io.datarouter.scanner.ScannerTool
- sort() - Method in interface io.datarouter.scanner.Scanner
- sort(Comparator<? super T>) - Method in interface io.datarouter.scanner.Scanner
- sorted() - Method in class io.datarouter.scanner.ScannerStream
- sorted(Comparator<? super T>) - Method in class io.datarouter.scanner.ScannerStream
- SortingScanner<T> - Class in io.datarouter.scanner
- SortingScanner(Scanner<T>, Comparator<? super T>) - Constructor for class io.datarouter.scanner.SortingScanner
- splitBy(Function<T, ?>) - Method in interface io.datarouter.scanner.Scanner
-
Applies the Function to each item in the Scanner, returning a new Scanner each time the mapped value changes.
- spliterator() - Method in class io.datarouter.scanner.ScannerStream
- spliterator(Scanner<T>) - Static method in class io.datarouter.scanner.ScannerTool
- SplittingScanner<T,
R> - Class in io.datarouter.scanner - SplittingScanner(Scanner<T>, Function<T, R>) - Constructor for class io.datarouter.scanner.SplittingScanner
- stream() - Method in interface io.datarouter.scanner.Scanner
- streamDoubles(ToDoubleFunction<? super T>) - Method in interface io.datarouter.scanner.Scanner
- streamInts(ToIntFunction<? super T>) - Method in interface io.datarouter.scanner.Scanner
- streamLongs(ToLongFunction<? super T>) - Method in interface io.datarouter.scanner.Scanner
- StreamScanner<T> - Class in io.datarouter.scanner
- StreamScanner(Stream<T>) - Constructor for class io.datarouter.scanner.StreamScanner
T
- take(int) - Method in interface io.datarouter.scanner.Scanner
-
Consume up to N items without closing, only closing the scanner if the last item was consumed.
- take(Scanner<T>, int) - Static method in class io.datarouter.scanner.ScannerTool
- then(Consumer<Scanner<T>>) - Method in interface io.datarouter.scanner.Scanner
-
Beta: Pass the current Scanner to a method that will Consume this Scanner and return nothing.
- toArray() - Method in interface io.datarouter.scanner.Scanner
- toArray() - Method in class io.datarouter.scanner.ScannerStream
- toArray(Scanner<?>) - Static method in class io.datarouter.scanner.ScannerTool
- toArray(IntFunction<A[]>) - Method in class io.datarouter.scanner.ScannerStream
- toMap() - Method in interface io.datarouter.scanner.Scanner
- toMap(Function<T, K>) - Method in interface io.datarouter.scanner.Scanner
- toMap(Function<T, K>, Function<T, V>) - Method in interface io.datarouter.scanner.Scanner
- toMap(Function<T, K>, Function<T, V>, ScannerToMap.Replace) - Method in interface io.datarouter.scanner.Scanner
- toMap(Function<T, K>, Function<T, V>, BinaryOperator<V>) - Method in interface io.datarouter.scanner.Scanner
- toMapSupplied(Function<T, K>, Function<T, V>, ScannerToMap.Replace, Supplier<M>) - Method in interface io.datarouter.scanner.Scanner
- toMapSupplied(Function<T, K>, Function<T, V>, BinaryOperator<V>, Supplier<M>) - Method in interface io.datarouter.scanner.Scanner
- toMapSupplied(Function<T, K>, Function<T, V>, Supplier<M>) - Method in interface io.datarouter.scanner.Scanner
- toMapSupplied(Function<T, K>, Supplier<M>) - Method in interface io.datarouter.scanner.Scanner
U
- unordered() - Method in class io.datarouter.scanner.ScannerStream
V
- valueOf(String) - Static method in enum class io.datarouter.scanner.ScannerToMap.Replace
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.datarouter.scanner.ScannerToMap.Replace
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages