Class UngroupedArrayColumnSource<T>

All Implemented Interfaces:
ChunkSource<Attributes.Values>, ChunkSource.WithPrev<Attributes.Values>, DefaultChunkSource<Attributes.Values>, DefaultChunkSource.WithPrev<Attributes.Values>, FillContextMaker, GetContextMaker, ColumnSource<T>, ColumnSourceGetDefaults.ForObject<T>, ElementSource<T>, MutableColumnSource<T>, MutableColumnSourceGetDefaults.ForObject<T>, Releasable, TupleExporter<T>, TupleSource<T>, Serializable

public class UngroupedArrayColumnSource<T>
extends UngroupedColumnSource<T>
implements MutableColumnSourceGetDefaults.ForObject<T>
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getComponentType

      public Class<?> getComponentType()
      Specified by:
      getComponentType in interface ColumnSource<T>
      Overrides:
      getComponentType in class AbstractColumnSource<T>
    • get

      public T get​(long index)
      Description copied from interface: ElementSource
      Get the value from the source. This may return boxed values for basic types.
      Specified by:
      get in interface ElementSource<T>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the value at the index, potentially null.
    • getPrev

      public T getPrev​(long index)
      Description copied from interface: ElementSource
      Get the previous value at the index. Previous values are used during an LTM update cycle to process changes in data. During normal operation previous values will be identical to current values.
      Specified by:
      getPrev in interface ElementSource<T>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the previous value at the index, or null.
    • isImmutable

      public boolean isImmutable()
      Description copied from interface: ColumnSource
      Determine if this column source is immutable, meaning that the values at a given index key never change.
      Specified by:
      isImmutable in interface ColumnSource<T>
      Specified by:
      isImmutable in interface MutableColumnSource<T>
      Returns:
      true if the values at a given index of the column source never change, false otherwise