Package org.apache.druid.java.util.common.guava
-
Interface Summary Interface Description Accumulator<AccumulatedType,InType> BaseSequence.IteratorMaker<T,IterType extends Iterator<T>> Sequence<T> A Sequence represents an iterable sequence of elements.Yielder<T> A Yielder is an object that tries to act like the yield() command/continuations in other languages. -
Class Summary Class Description Accumulators BaseSequence<T,IterType extends Iterator<T>> Comparators ConcatSequence<T> DelegatingYieldingAccumulator<OutType,T> DroppingIterable<T> DroppingIterator<T> ExecuteWhenDoneYielder<T> ExplodingSequence<T> Wraps an underlying sequence and allows us to force it to explode at various points.FilteredSequence<T> FilteringAccumulator<OutType,T> FilteringYieldingAccumulator<OutType,T> FunctionalIterable<T> FunctionalIterator<T> LazySequence<T> MappedSequence<T,Out> MappingAccumulator<OutType,InType,MappedType> MappingYieldingAccumulator<OutType,InType,MappedType> MergeIterable<T> MergeIterator<T> Iterator that merges a collection of sorted iterators using a comparator.MergeSequence<T> Used to perform an n-way merge on n ordered sequencesParallelMergeCombiningSequence<T> Artisanal, locally-sourced, hand-crafted, gluten and GMO free, bespoke, free-range, organic, small-batch parallel merge combining sequence.ParallelMergeCombiningSequence.CancellationFuture ListenableFuture
that allowsParallelMergeCombiningSequence
to be registered withQueryWatcher.registerQueryFuture(org.apache.druid.query.Query<?>, com.google.common.util.concurrent.ListenableFuture<?>)
to participate in query cancellation or anything else that has a need to watch the activity on the merge pool.ParallelMergeCombiningSequence.CancellationGizmo Token used to stop internal parallel processing across all tasks in the merge pool.ParallelMergeCombiningSequence.MergeCombineMetrics Metrics for the execution of aParallelMergeCombiningSequence
on theForkJoinPool
Sequences SequenceWrapper SimpleSequence<T> Simple Sequence based on an Iterable, created usingSequences.simple(java.lang.Iterable<T>)
.SkippingSequence<T> A Sequence that skips the first few elements.TopNSequence<T> Simultaneously sorts and limits its input.Yielders YieldingAccumulator<AccumulatedType,InType> A YieldingAccumulator is used along with a Yielder in order to replicate continuations in Java.YieldingAccumulators YieldingSequenceBase<T> A Sequence that is based entirely on the Yielder implementation.