Class RangeAggregateColumnSourceObject<COMPONENT_TYPE>

java.lang.Object
io.deephaven.engine.table.impl.AbstractColumnSource<VECTOR_TYPE>
io.deephaven.engine.table.impl.sources.aggregate.RangeAggregateColumnSource<ObjectVector<COMPONENT_TYPE>,COMPONENT_TYPE>
io.deephaven.engine.table.impl.sources.aggregate.RangeAggregateColumnSourceObject<COMPONENT_TYPE>
All Implemented Interfaces:
ChunkSource<Values>, ChunkSource.WithPrev<Values>, ColumnSource<ObjectVector<COMPONENT_TYPE>>, ElementSource<ObjectVector<COMPONENT_TYPE>>, FillContextMaker, GetContextMaker, ColumnSourceGetDefaults.ForObject<ObjectVector<COMPONENT_TYPE>>, DefaultChunkSource<Values>, DefaultChunkSource.WithPrev<Values>, MutableColumnSource<ObjectVector<COMPONENT_TYPE>>, MutableColumnSourceGetDefaults.ForObject<ObjectVector<COMPONENT_TYPE>>, AggregateColumnSource<ObjectVector<COMPONENT_TYPE>,COMPONENT_TYPE>, UngroupableColumnSource, Releasable, TupleExporter<ObjectVector<COMPONENT_TYPE>>, TupleSource<ObjectVector<COMPONENT_TYPE>>

public final class RangeAggregateColumnSourceObject<COMPONENT_TYPE> extends RangeAggregateColumnSource<ObjectVector<COMPONENT_TYPE>,COMPONENT_TYPE>
ColumnSource implementation for aggregation result char columns.
  • Constructor Details

  • Method Details

    • get

      public ObjectVector<COMPONENT_TYPE> get(long rowKey)
      Description copied from interface: ElementSource
      Get the value from the source. This may return boxed values for basic types. RowKeys that are not present are undefined.
      Parameters:
      rowKey - the location in key space to get the value from.
      Returns:
      the value at the rowKey, potentially null.
    • getPrev

      public ObjectVector<COMPONENT_TYPE> getPrev(long rowKey)
      Description copied from interface: ElementSource
      Get the previous value at the rowKey. Previous values are used during an UG update cycle to process changes in data. During normal operation previous values will be identical to current values. RowKeys that were not present are undefined.
      Parameters:
      rowKey - the location in key space to get the value from.
      Returns:
      the previous value at the rowKey, potentially null.
    • fillChunk

      public void fillChunk(@NotNull @NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super Values> destination, @NotNull @NotNull RowSequence rowSequence)
      Description copied from interface: ChunkSource
      Populates the given destination chunk with data corresponding to the keys from the given RowSequence.
      Specified by:
      fillChunk in interface ChunkSource<COMPONENT_TYPE>
      Overrides:
      fillChunk in class AbstractColumnSource<ObjectVector<COMPONENT_TYPE>>
      Parameters:
      context - A context containing all mutable/state related data used in retrieving the Chunk.
      destination - The chunk to be populated according to rowSequence. No assumptions shall be made about the size of the chunk shall be made. The chunk will be populated from position [0,rowSequence.size()).
      rowSequence - An RowSequence representing the keys to be fetched
    • fillPrevChunk

      public void fillPrevChunk(@NotNull @NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super Values> destination, @NotNull @NotNull RowSequence rowSequence)
      Description copied from interface: ChunkSource.WithPrev
      Populates the given destination chunk with data corresponding to the keys from the given RowSequence.
      Specified by:
      fillPrevChunk in interface ChunkSource.WithPrev<COMPONENT_TYPE>
      Overrides:
      fillPrevChunk in class AbstractColumnSource<ObjectVector<COMPONENT_TYPE>>
      Parameters:
      context - A context containing all mutable/state related data used in retrieving the Chunk.
      destination - The chunk to be populated according to rowSequence. No assumptions shall be made about the size of the chunk shall be made. The chunk will be populated from position [0,rowSequence.size()).
      rowSequence - An RowSequence representing the keys to be fetched