Interface AggregateColumnSource<VECTOR_TYPE extends Vector<VECTOR_TYPE>,COMPONENT_TYPE>

All Superinterfaces:
ChunkSource<Values>, ChunkSource.WithPrev<Values>, ColumnSource<VECTOR_TYPE>, ColumnSourceGetDefaults.ForObject<VECTOR_TYPE>, ElementSource<VECTOR_TYPE>, FillContextMaker, GetContextMaker, MutableColumnSource<VECTOR_TYPE>, MutableColumnSourceGetDefaults.ForObject<VECTOR_TYPE>, Releasable, TupleExporter<VECTOR_TYPE>, TupleSource<VECTOR_TYPE>, UngroupableColumnSource
All Known Implementing Classes:
BaseAggregateSlicedColumnSource, ByteAggregateColumnSource, CharAggregateColumnSource, DoubleAggregateColumnSource, FloatAggregateColumnSource, IntAggregateColumnSource, LongAggregateColumnSource, ObjectAggregateColumnSource, RangeAggregateColumnSource, RangeAggregateColumnSourceByte, RangeAggregateColumnSourceChar, RangeAggregateColumnSourceDouble, RangeAggregateColumnSourceFloat, RangeAggregateColumnSourceInt, RangeAggregateColumnSourceLong, RangeAggregateColumnSourceObject, RangeAggregateColumnSourceShort, ShortAggregateColumnSource, SlicedByteAggregateColumnSource, SlicedCharAggregateColumnSource, SlicedDoubleAggregateColumnSource, SlicedFloatAggregateColumnSource, SlicedIntAggregateColumnSource, SlicedLongAggregateColumnSource, SlicedObjectAggregateColumnSource, SlicedShortAggregateColumnSource

public interface AggregateColumnSource<VECTOR_TYPE extends Vector<VECTOR_TYPE>,COMPONENT_TYPE> extends UngroupableColumnSource, MutableColumnSourceGetDefaults.ForObject<VECTOR_TYPE>
ColumnSource and UngroupableColumnSource interface for aggregation result columns.
  • Method Details

    • ungrouped

    • make

      static <VECTOR_TYPE extends Vector<VECTOR_TYPE>, DATA_TYPE> AggregateColumnSource<VECTOR_TYPE,DATA_TYPE> make(@NotNull @NotNull ColumnSource<DATA_TYPE> aggregatedSource, @NotNull @NotNull ColumnSource<? extends RowSet> groupRowSetSource)
    • makeSliced

      static <VECTOR_TYPE extends Vector<VECTOR_TYPE>, DATA_TYPE> AggregateColumnSource<VECTOR_TYPE,DATA_TYPE> makeSliced(@NotNull @NotNull ColumnSource<DATA_TYPE> aggregatedSource, @NotNull @NotNull ColumnSource<? extends RowSet> groupRowSetSource, @NotNull @NotNull ColumnSource<Long> startPosSource, @NotNull @NotNull ColumnSource<Long> endPosSource)
      Returns a sliced aggregate ColumnSource from the provided sources.
      Parameters:
      aggregatedSource - the value column source for the aggregation
      groupRowSetSource - the column source that maps rows to group row sets
      startPosSource - the column source that maps rows to starting position offsets
      endPosSource - the column source that maps rows to ending position offsets (exclusive)
    • makeSliced

      static <VECTOR_TYPE extends Vector<VECTOR_TYPE>, DATA_TYPE> AggregateColumnSource<VECTOR_TYPE,DATA_TYPE> makeSliced(@NotNull @NotNull ColumnSource<DATA_TYPE> aggregatedSource, @NotNull @NotNull ColumnSource<? extends RowSet> groupRowSetSource, long startPosOffset, long endPosOffset)
      Returns a sliced aggregate ColumnSource from the provided sources.
      Parameters:
      aggregatedSource - the value column source for the aggregation
      groupRowSetSource - the column source that maps rows to group row sets
      startPosOffset - the fixed starting position offset for every row
      endPosOffset - the fixed ending position offset for every row (exclusive)
    • forRangeJoin

      static <VECTOR_TYPE extends Vector<VECTOR_TYPE>, DATA_TYPE> AggregateColumnSource<VECTOR_TYPE,DATA_TYPE> forRangeJoin(@NotNull @NotNull ColumnSource<?> aggregatedSource, @NotNull @NotNull ColumnSource<? extends RowSet> groupRowSetSource, @NotNull @NotNull ColumnSource<Integer> startPositionInclusiveSource, @NotNull @NotNull ColumnSource<Integer> endPositionExclusiveSource)
      Returns a range aggregated ColumnSource from the provided sources.
      Parameters:
      aggregatedSource - The input value ColumnSource for the aggregation, in input row key space
      groupRowSetSource - ColumnSource of grouped input row sets, in output row key space
      startPositionInclusiveSource - ColumnSource of starting positions (inclusive), in output row key space
      endPositionExclusiveSource - ColumnSource of ending positions (exclusive), in output row key space