Uses of Interface
org.apache.druid.java.util.common.guava.Sequence
-
-
Uses of Sequence in org.apache.druid.common.guava
Classes in org.apache.druid.common.guava that implement Sequence Modifier and Type Class Description classCombiningSequence<T>Methods in org.apache.druid.common.guava with parameters of type Sequence Modifier and Type Method Description static <T> CombiningSequence<T>CombiningSequence. create(Sequence<T> baseSequence, Comparator<T> ordering, BinaryOperator<T> mergeFn) -
Uses of Sequence in org.apache.druid.frame.channel
Classes in org.apache.druid.frame.channel that implement Sequence Modifier and Type Class Description classFrameChannelSequence -
Uses of Sequence in org.apache.druid.frame.processor.manager
Methods in org.apache.druid.frame.processor.manager with parameters of type Sequence Modifier and Type Method Description static <T> ProcessorManager<T,Long>ProcessorManagers. of(Sequence<? extends FrameProcessor<T>> processors)Manager with processors derived from aSequence. -
Uses of Sequence in org.apache.druid.frame.segment
Methods in org.apache.druid.frame.segment that return Sequence Modifier and Type Method Description static Sequence<Frame>FrameCursorUtils. cursorToFramesSequence(Cursor cursor, FrameWriterFactory frameWriterFactory)Sequence<Cursor>FrameStorageAdapter. makeCursors(Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, QueryMetrics<?> queryMetrics) -
Uses of Sequence in org.apache.druid.frame.segment.columnar
Methods in org.apache.druid.frame.segment.columnar that return Sequence Modifier and Type Method Description Sequence<Cursor>FrameCursorFactory. makeCursors(Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, QueryMetrics<?> queryMetrics) -
Uses of Sequence in org.apache.druid.frame.segment.row
Methods in org.apache.druid.frame.segment.row that return Sequence Modifier and Type Method Description Sequence<Cursor>FrameCursorFactory. makeCursors(Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, QueryMetrics<?> queryMetrics) -
Uses of Sequence in org.apache.druid.java.util.common.guava
Classes in org.apache.druid.java.util.common.guava that implement Sequence Modifier and Type Class Description classBaseSequence<T,IterType extends Iterator<T>>classConcatSequence<T>classExplodingSequence<T>Wraps an underlying sequence and allows us to force it to explode at various points.classFilteredSequence<T>classLazySequence<T>classMappedSequence<T,Out>classMergeSequence<T>Used to perform an n-way merge on n ordered sequencesclassParallelMergeCombiningSequence<T>Artisanal, locally-sourced, hand-crafted, gluten and GMO free, bespoke, free-range, organic, small-batch parallel merge combining sequence.classSimpleSequence<T>Simple Sequence based on an Iterable, created usingSequences.simple(java.lang.Iterable<T>).classSkippingSequence<T>A Sequence that skips the first few elements.classTopNSequence<T>Simultaneously sorts and limits its input.classYieldingSequenceBase<T>A Sequence that is based entirely on the Yielder implementation.Methods in org.apache.druid.java.util.common.guava that return Sequence Modifier and Type Method Description static <T> Sequence<T>Sequences. concat(Iterable<Sequence<T>> sequences)static <T> Sequence<T>Sequences. concat(Sequence<? extends Sequence<T>> sequences)static <T> Sequence<T>Sequences. concat(Sequence<T>... sequences)static <T> Sequence<T>Sequences. empty()default Sequence<T>Sequence. filter(com.google.common.base.Predicate<? super T> predicate)static <T> Sequence<T>Sequences. filter(Sequence<T> sequence, com.google.common.base.Predicate<? super T> pred)default <R> Sequence<R>Sequence. flatMap(Function<? super T,? extends Sequence<? extends R>> mapper)default <R> Sequence<R>Sequence. flatMerge(Function<? super T,? extends Sequence<? extends R>> mapper, com.google.common.collect.Ordering<? super R> ordering)default Sequence<T>Sequence. limit(long limit)default <U> Sequence<U>Sequence. map(Function<? super T,? extends U> mapper)static <From,To>
Sequence<To>Sequences. map(Sequence<From> sequence, com.google.common.base.Function<? super From,? extends To> fn)static <T> Sequence<T>Sequences. simple(Iterable<T> iterable)default Sequence<T>Sequence. skip(long skip)static <T> Sequence<T>Sequences. sort(Sequence<T> sequence, Comparator<T> comparator)Returns a sorted copy of the provided sequence.default Sequence<T>Sequence. withBaggage(Closeable baggage)static <T> Sequence<T>Sequences. withBaggage(Sequence<T> seq, Closeable baggage)default Sequence<T>Sequence. withEffect(Runnable effect, Executor effectExecutor)static <T> Sequence<T>Sequences. withEffect(Sequence<T> seq, Runnable effect, Executor exec)static <T> Sequence<T>Sequences. wrap(Sequence<T> seq, SequenceWrapper wrapper)Allows to execute something before, after or around the processing of the given sequence.Methods in org.apache.druid.java.util.common.guava with parameters of type Sequence Modifier and Type Method Description static <T> Sequence<T>Sequences. concat(Sequence<? extends Sequence<T>> sequences)static <T> Sequence<T>Sequences. concat(Sequence<T>... sequences)static <T> Yielder<T>Yielders. each(Sequence<T> sequence)static <T> Sequence<T>Sequences. filter(Sequence<T> sequence, com.google.common.base.Predicate<? super T> pred)static <From,To>
Sequence<To>Sequences. map(Sequence<From> sequence, com.google.common.base.Function<? super From,? extends To> fn)static <T> Sequence<T>Sequences. sort(Sequence<T> sequence, Comparator<T> comparator)Returns a sorted copy of the provided sequence.static <T> Sequence<T>Sequences. withBaggage(Sequence<T> seq, Closeable baggage)static <T> Sequence<T>Sequences. withEffect(Sequence<T> seq, Runnable effect, Executor exec)static <T> Sequence<T>Sequences. wrap(Sequence<T> seq, SequenceWrapper wrapper)Allows to execute something before, after or around the processing of the given sequence.Method parameters in org.apache.druid.java.util.common.guava with type arguments of type Sequence Modifier and Type Method Description static <T> Sequence<T>Sequences. concat(Iterable<Sequence<T>> sequences)static <T> Sequence<T>Sequences. concat(Sequence<? extends Sequence<T>> sequences)default <R> Sequence<R>Sequence. flatMap(Function<? super T,? extends Sequence<? extends R>> mapper)default <R> Sequence<R>Sequence. flatMerge(Function<? super T,? extends Sequence<? extends R>> mapper, com.google.common.collect.Ordering<? super R> ordering)<OutType> Yielder<OutType>ConcatSequence. makeYielder(Yielder<Sequence<T>> yielderYielder, OutType initValue, YieldingAccumulator<OutType,T> accumulator)Constructors in org.apache.druid.java.util.common.guava with parameters of type Sequence Constructor Description ConcatSequence(Sequence<? extends Sequence<? extends T>> baseSequences)ExplodingSequence(Sequence<T> baseSequence, boolean getThrowsException, boolean closeThrowsException)FilteredSequence(Sequence<T> baseSequence, com.google.common.base.Predicate<? super T> pred)MappedSequence(Sequence<T> baseSequence, Function<? super T,? extends Out> fn)MergeSequence(com.google.common.collect.Ordering<? super T> ordering, Sequence<? extends Sequence<? extends T>> baseSequences)SkippingSequence(Sequence<T> baseSequence, long skip)TopNSequence(Sequence<T> input, Comparator<T> ordering, int limit)Constructor parameters in org.apache.druid.java.util.common.guava with type arguments of type Sequence Constructor Description ConcatSequence(Sequence<? extends Sequence<? extends T>> baseSequences)LazySequence(com.google.common.base.Supplier<Sequence<T>> provider)MergeSequence(com.google.common.collect.Ordering<? super T> ordering, Sequence<? extends Sequence<? extends T>> baseSequences)ParallelMergeCombiningSequence(ForkJoinPool workerPool, List<Sequence<T>> inputSequences, com.google.common.collect.Ordering<T> orderingFn, BinaryOperator<T> combineFn, boolean hasTimeout, long timeoutMillis, int queryPriority, int parallelism, int yieldAfter, int batchSize, int targetTimeMillis, Consumer<ParallelMergeCombiningSequence.MergeCombineMetrics> reporter) -
Uses of Sequence in org.apache.druid.query
Methods in org.apache.druid.query that return Sequence Modifier and Type Method Description protected abstract Sequence<T>BySegmentSkippingQueryRunner. doRun(QueryRunner<T> baseRunner, QueryPlus<T> queryPlus, ResponseContext context)Sequence<T>ResultMergeQueryRunner. doRun(QueryRunner<T> baseRunner, QueryPlus<T> queryPlus, ResponseContext context)Sequence<Object[]>FrameBasedInlineDataSource. getRowsAsSequence()static <T> Sequence<Result<T>>QueryRunnerHelper. makeCursorBasedQuery(StorageAdapter adapter, List<org.joda.time.Interval> queryIntervals, Filter filter, VirtualColumns virtualColumns, boolean descending, Granularity granularity, com.google.common.base.Function<Cursor,Result<T>> mapFn, QueryMetrics<?> queryMetrics)Sequence<Object[]>QueryToolChest. resultsAsArrays(QueryType query, Sequence<ResultType> resultSequence)Converts a sequence of this query's ResultType into arrays.Sequence<T>BySegmentQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>BySegmentSkippingQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>ChainedExecutionQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>ConcatQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>CPUTimeMetricQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>FinalizeResultsQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>FluentQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>MetricsEmittingQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>NoopQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>PerSegmentOptimizingQueryRunner. run(QueryPlus<T> input, ResponseContext responseContext)Sequence<T>QueryPlus. run(QuerySegmentWalker walker, ResponseContext context)default Sequence<T>QueryRunner. run(QueryPlus<T> queryPlus)Sequence<T>QueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Runs the given query and returns results in a time-ordered sequence.Sequence<T>ReferenceCountingSegmentQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>ReportTimelineMissingSegmentQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>SubqueryQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Sequence<T>UnionQueryRunner. run(QueryPlus<T> queryPlus, ResponseContext responseContext)Methods in org.apache.druid.query that return types with arguments of type Sequence Modifier and Type Method Description Optional<Sequence<FrameSignaturePair>>QueryToolChest. resultsAsFrames(QueryType query, Sequence<ResultType> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes)Converts a sequence of this query's ResultType into a sequence ofFrameSignaturePair.Methods in org.apache.druid.query with parameters of type Sequence Modifier and Type Method Description static Pair<Cursor,Closeable>IterableRowsCursorHelper. getCursorFromSequence(Sequence<Object[]> rows, RowSignature rowSignature)Creates a cursor that iterates over all the rows generated by the sequence.Sequence<Object[]>QueryToolChest. resultsAsArrays(QueryType query, Sequence<ResultType> resultSequence)Converts a sequence of this query's ResultType into arrays.Optional<Sequence<FrameSignaturePair>>QueryToolChest. resultsAsFrames(QueryType query, Sequence<ResultType> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes)Converts a sequence of this query's ResultType into a sequence ofFrameSignaturePair.Constructors in org.apache.druid.query with parameters of type Sequence Constructor Description ConcatQueryRunner(Sequence<QueryRunner<T>> queryRunners) -
Uses of Sequence in org.apache.druid.query.groupby
Methods in org.apache.druid.query.groupby that return Sequence Modifier and Type Method Description Sequence<ResultRow>GroupingEngine. applyPostProcessing(Sequence<ResultRow> results, GroupByQuery query)Apply theGroupByQuery"postProcessingFn", which is responsible for HavingSpec and LimitSpec.Sequence<ResultRow>GroupingEngine. mergeResults(QueryRunner<ResultRow> baseRunner, GroupByQuery query, ResponseContext responseContext)Runs a providedQueryRunneron a providedGroupByQuery, which is assumed to return rows that are properly sorted (by timestamp and dimensions) but not necessarily fully merged (that is, there may be adjacent rows with the same timestamp and dimensions) and without PostAggregators computed.Sequence<ResultRow>GroupByQuery. postProcess(Sequence<ResultRow> results)Apply the havingSpec and limitSpec.Sequence<ResultRow>GroupingEngine. process(GroupByQuery query, StorageAdapter storageAdapter, GroupByQueryMetrics groupByQueryMetrics)Process a groupBy query on a singleStorageAdapter.Sequence<ResultRow>GroupingEngine. processSubqueryResult(GroupByQuery subquery, GroupByQuery query, GroupByQueryResources resource, Sequence<ResultRow> subqueryResult, boolean wasQueryPushedDown)Called byGroupByQueryQueryToolChest.mergeResults(QueryRunner)when it needs to process a subquery.Sequence<ResultRow>GroupingEngine. processSubtotalsSpec(GroupByQuery query, GroupByQueryResources resource, Sequence<ResultRow> queryResult)Called byGroupByQueryQueryToolChest.mergeResults(QueryRunner)when it needs to generate subtotals.Sequence<Object[]>GroupByQueryQueryToolChest. resultsAsArrays(GroupByQuery query, Sequence<ResultRow> resultSequence)static Sequence<ResultRow>GroupingEngine. wrapSummaryRowIfNeeded(GroupByQuery query, Sequence<ResultRow> process)Wraps the sequence around if for this query a summary row might be needed in case the input becomes empty.Methods in org.apache.druid.query.groupby that return types with arguments of type Sequence Modifier and Type Method Description Optional<Sequence<FrameSignaturePair>>GroupByQueryQueryToolChest. resultsAsFrames(GroupByQuery query, Sequence<ResultRow> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes)This returns a single frame containing the results of the group by query.Methods in org.apache.druid.query.groupby with parameters of type Sequence Modifier and Type Method Description Sequence<ResultRow>GroupingEngine. applyPostProcessing(Sequence<ResultRow> results, GroupByQuery query)Apply theGroupByQuery"postProcessingFn", which is responsible for HavingSpec and LimitSpec.Sequence<ResultRow>GroupByQuery. postProcess(Sequence<ResultRow> results)Apply the havingSpec and limitSpec.Sequence<ResultRow>GroupingEngine. processSubqueryResult(GroupByQuery subquery, GroupByQuery query, GroupByQueryResources resource, Sequence<ResultRow> subqueryResult, boolean wasQueryPushedDown)Called byGroupByQueryQueryToolChest.mergeResults(QueryRunner)when it needs to process a subquery.Sequence<ResultRow>GroupingEngine. processSubtotalsSpec(GroupByQuery query, GroupByQueryResources resource, Sequence<ResultRow> queryResult)Called byGroupByQueryQueryToolChest.mergeResults(QueryRunner)when it needs to generate subtotals.Sequence<Object[]>GroupByQueryQueryToolChest. resultsAsArrays(GroupByQuery query, Sequence<ResultRow> resultSequence)Optional<Sequence<FrameSignaturePair>>GroupByQueryQueryToolChest. resultsAsFrames(GroupByQuery query, Sequence<ResultRow> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes)This returns a single frame containing the results of the group by query.static Sequence<ResultRow>GroupingEngine. wrapSummaryRowIfNeeded(GroupByQuery query, Sequence<ResultRow> process)Wraps the sequence around if for this query a summary row might be needed in case the input becomes empty. -
Uses of Sequence in org.apache.druid.query.groupby.epinephelinae
Methods in org.apache.druid.query.groupby.epinephelinae that return Sequence Modifier and Type Method Description static Sequence<ResultRow>GroupByQueryEngine. process(GroupByQuery query, StorageAdapter storageAdapter, ByteBuffer processingBuffer, org.joda.time.DateTime fudgeTimestamp, GroupByQueryConfig querySpecificConfig, DruidProcessingConfig processingConfig, Filter filter, org.joda.time.Interval interval, GroupByQueryMetrics groupByQueryMetrics)Sequence<ResultRow>GroupByRowProcessor.ResultSupplier. results(List<DimensionSpec> dimensionsToInclude)Return a result sequence.Sequence<ResultRow>GroupByMergingQueryRunner. run(QueryPlus<ResultRow> queryPlus, ResponseContext responseContext)Methods in org.apache.druid.query.groupby.epinephelinae with parameters of type Sequence Modifier and Type Method Description static GroupByRowProcessor.ResultSupplierGroupByRowProcessor. process(GroupByQuery query, GroupByQuery subquery, Sequence<ResultRow> rows, GroupByQueryConfig config, DruidProcessingConfig processingConfig, GroupByQueryResources resource, com.fasterxml.jackson.databind.ObjectMapper spillMapper, String processingTmpDir, int mergeBufferSize)Process the input of sequence "rows" (output by "subquery") based on "query" and returns aGroupByRowProcessor.ResultSupplier. -
Uses of Sequence in org.apache.druid.query.groupby.epinephelinae.vector
Methods in org.apache.druid.query.groupby.epinephelinae.vector that return Sequence Modifier and Type Method Description static Sequence<ResultRow>VectorGroupByEngine. process(GroupByQuery query, StorageAdapter storageAdapter, ByteBuffer processingBuffer, org.joda.time.DateTime fudgeTimestamp, Filter filter, org.joda.time.Interval interval, GroupByQueryConfig config, DruidProcessingConfig processingConfig, GroupByQueryMetrics groupByQueryMetrics) -
Uses of Sequence in org.apache.druid.query.groupby.orderby
Methods in org.apache.druid.query.groupby.orderby that return types with arguments of type Sequence Modifier and Type Method Description com.google.common.base.Function<Sequence<ResultRow>,Sequence<ResultRow>>DefaultLimitSpec. build(GroupByQuery query)com.google.common.base.Function<Sequence<ResultRow>,Sequence<ResultRow>>DefaultLimitSpec. build(GroupByQuery query)com.google.common.base.Function<Sequence<ResultRow>,Sequence<ResultRow>>LimitSpec. build(GroupByQuery query)Returns a function that applies a limit to an input sequence that is assumed to be sorted on dimensions.com.google.common.base.Function<Sequence<ResultRow>,Sequence<ResultRow>>LimitSpec. build(GroupByQuery query)Returns a function that applies a limit to an input sequence that is assumed to be sorted on dimensions.com.google.common.base.Function<Sequence<ResultRow>,Sequence<ResultRow>>NoopLimitSpec. build(GroupByQuery query)com.google.common.base.Function<Sequence<ResultRow>,Sequence<ResultRow>>NoopLimitSpec. build(GroupByQuery query) -
Uses of Sequence in org.apache.druid.query.operator
Classes in org.apache.druid.query.operator that implement Sequence Modifier and Type Class Description classOperatorSequenceProvides a sequence on top of Operators.Methods in org.apache.druid.query.operator that return Sequence Modifier and Type Method Description Sequence<Object[]>WindowOperatorQueryQueryToolChest. resultsAsArrays(WindowOperatorQuery query, Sequence<RowsAndColumns> resultSequence)Methods in org.apache.druid.query.operator with parameters of type Sequence Modifier and Type Method Description Sequence<Object[]>WindowOperatorQueryQueryToolChest. resultsAsArrays(WindowOperatorQuery query, Sequence<RowsAndColumns> resultSequence)Constructors in org.apache.druid.query.operator with parameters of type Sequence Constructor Description SequenceOperator(Sequence<RowsAndColumns> child) -
Uses of Sequence in org.apache.druid.query.scan
Classes in org.apache.druid.query.scan that implement Sequence Modifier and Type Class Description classScanQueryOffsetSequenceA Sequence that wraps the results of a ScanQuery and skips a given number of rows.Methods in org.apache.druid.query.scan that return Sequence Modifier and Type Method Description Sequence<ScanResultValue>ScanQueryEngine. process(ScanQuery query, Segment segment, ResponseContext responseContext, QueryMetrics<?> queryMetrics)Sequence<Object[]>ScanQueryQueryToolChest. resultsAsArrays(ScanQuery query, Sequence<ScanResultValue> resultSequence)Methods in org.apache.druid.query.scan that return types with arguments of type Sequence Modifier and Type Method Description Optional<Sequence<FrameSignaturePair>>ScanQueryQueryToolChest. resultsAsFrames(ScanQuery query, Sequence<ScanResultValue> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes)This batches the fetchedScanResultValues which have similar signatures and are consecutives.Methods in org.apache.druid.query.scan with parameters of type Sequence Modifier and Type Method Description Sequence<Object[]>ScanQueryQueryToolChest. resultsAsArrays(ScanQuery query, Sequence<ScanResultValue> resultSequence)Optional<Sequence<FrameSignaturePair>>ScanQueryQueryToolChest. resultsAsFrames(ScanQuery query, Sequence<ScanResultValue> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes)This batches the fetchedScanResultValues which have similar signatures and are consecutives.Constructors in org.apache.druid.query.scan with parameters of type Sequence Constructor Description ScanQueryOffsetSequence(Sequence<ScanResultValue> baseSequence, long skip)ScanResultValueFramesIterable(Sequence<ScanResultValue> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes, RowSignature defaultRowSignature, com.google.common.base.Function<RowSignature,com.google.common.base.Function<?,Object[]>> resultFormatMapper)ScanResultValueIterator(Sequence<ScanResultValue> resultSequence) -
Uses of Sequence in org.apache.druid.query.search
Methods in org.apache.druid.query.search that return Sequence Modifier and Type Method Description Sequence<Result<SearchResultValue>>SearchQueryRunner. run(QueryPlus<Result<SearchResultValue>> queryPlus, ResponseContext responseContext) -
Uses of Sequence in org.apache.druid.query.spec
Methods in org.apache.druid.query.spec that return Sequence Modifier and Type Method Description Sequence<T>SpecificSegmentQueryRunner. run(QueryPlus<T> input, ResponseContext responseContext) -
Uses of Sequence in org.apache.druid.query.timeboundary
Methods in org.apache.druid.query.timeboundary that return Sequence Modifier and Type Method Description Sequence<Object[]>TimeBoundaryQueryQueryToolChest. resultsAsArrays(TimeBoundaryQuery query, Sequence<Result<TimeBoundaryResultValue>> resultSequence)Methods in org.apache.druid.query.timeboundary with parameters of type Sequence Modifier and Type Method Description Sequence<Object[]>TimeBoundaryQueryQueryToolChest. resultsAsArrays(TimeBoundaryQuery query, Sequence<Result<TimeBoundaryResultValue>> resultSequence) -
Uses of Sequence in org.apache.druid.query.timeseries
Methods in org.apache.druid.query.timeseries that return Sequence Modifier and Type Method Description Sequence<Result<TimeseriesResultValue>>TimeseriesQueryEngine. process(TimeseriesQuery query, StorageAdapter adapter, TimeseriesQueryMetrics timeseriesQueryMetrics)Run a single-segment, single-interval timeseries query on a particular adapter.Sequence<Object[]>TimeseriesQueryQueryToolChest. resultsAsArrays(TimeseriesQuery query, Sequence<Result<TimeseriesResultValue>> resultSequence)Methods in org.apache.druid.query.timeseries that return types with arguments of type Sequence Modifier and Type Method Description Optional<Sequence<FrameSignaturePair>>TimeseriesQueryQueryToolChest. resultsAsFrames(TimeseriesQuery query, Sequence<Result<TimeseriesResultValue>> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes)This returns a single frame containing the results of the timeseries queryMethods in org.apache.druid.query.timeseries with parameters of type Sequence Modifier and Type Method Description Sequence<Object[]>TimeseriesQueryQueryToolChest. resultsAsArrays(TimeseriesQuery query, Sequence<Result<TimeseriesResultValue>> resultSequence)Optional<Sequence<FrameSignaturePair>>TimeseriesQueryQueryToolChest. resultsAsFrames(TimeseriesQuery query, Sequence<Result<TimeseriesResultValue>> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes)This returns a single frame containing the results of the timeseries query -
Uses of Sequence in org.apache.druid.query.topn
Methods in org.apache.druid.query.topn that return Sequence Modifier and Type Method Description Sequence<Result<TopNResultValue>>TopNQueryEngine. query(TopNQuery query, StorageAdapter adapter, TopNQueryMetrics queryMetrics)Do the thing - process aStorageAdapterinto aSequenceofTopNResultValue, with one of the fineTopNAlgorithmavailable chosen based on the type of column being aggregated.Sequence<Object[]>TopNQueryQueryToolChest. resultsAsArrays(TopNQuery query, Sequence<Result<TopNResultValue>> resultSequence)Methods in org.apache.druid.query.topn that return types with arguments of type Sequence Modifier and Type Method Description Optional<Sequence<FrameSignaturePair>>TopNQueryQueryToolChest. resultsAsFrames(TopNQuery query, Sequence<Result<TopNResultValue>> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes)This returns a single frame containing the rows of the topN query's resultsMethods in org.apache.druid.query.topn with parameters of type Sequence Modifier and Type Method Description Sequence<Object[]>TopNQueryQueryToolChest. resultsAsArrays(TopNQuery query, Sequence<Result<TopNResultValue>> resultSequence)Optional<Sequence<FrameSignaturePair>>TopNQueryQueryToolChest. resultsAsFrames(TopNQuery query, Sequence<Result<TopNResultValue>> resultSequence, MemoryAllocatorFactory memoryAllocatorFactory, boolean useNestedForUnknownTypes)This returns a single frame containing the rows of the topN query's results -
Uses of Sequence in org.apache.druid.segment
Methods in org.apache.druid.segment that return Sequence Modifier and Type Method Description Sequence<Cursor>QueryableIndexCursorSequenceBuilder. build(Granularity gran)Sequence<Cursor>CursorFactory. makeCursors(Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, QueryMetrics<?> queryMetrics)Creates a sequence of Cursors, one for each time-granular bucket (based on the provided Granularity).Sequence<Cursor>FilteredStorageAdapter. makeCursors(Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, QueryMetrics<?> queryMetrics)Sequence<Cursor>QueryableIndexStorageAdapter. makeCursors(Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, QueryMetrics<?> queryMetrics)Sequence<Cursor>RowBasedStorageAdapter. makeCursors(Filter filter, org.joda.time.Interval queryInterval, VirtualColumns virtualColumns, Granularity gran, boolean descending, QueryMetrics<?> queryMetrics)Sequence<Cursor>UnnestStorageAdapter. makeCursors(Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, QueryMetrics<?> queryMetrics)Constructors in org.apache.druid.segment with parameters of type Sequence Constructor Description RowBasedSegment(SegmentId segmentId, Sequence<RowType> rowSequence, RowAdapter<RowType> rowAdapter, RowSignature rowSignature)Create a row-based segment.RowBasedStorageAdapter(Sequence<RowType> rowSequence, RowAdapter<RowType> rowAdapter, RowSignature rowSignature)RowWalker(Sequence<T> rowSequence, RowAdapter<T> rowAdapter) -
Uses of Sequence in org.apache.druid.segment.incremental
Methods in org.apache.druid.segment.incremental that return Sequence Modifier and Type Method Description Sequence<Cursor>IncrementalIndexStorageAdapter. makeCursors(Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, QueryMetrics<?> queryMetrics) -
Uses of Sequence in org.apache.druid.segment.join
Methods in org.apache.druid.segment.join that return Sequence Modifier and Type Method Description Sequence<Cursor>HashJoinSegmentStorageAdapter. makeCursors(Filter filter, org.joda.time.Interval interval, VirtualColumns virtualColumns, Granularity gran, boolean descending, QueryMetrics<?> queryMetrics)
-