Class UngroupedBooleanArrayColumnSource

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

public class UngroupedBooleanArrayColumnSource extends UngroupedColumnSource<Boolean> implements MutableColumnSourceGetDefaults.ForBoolean
See Also:
  • Constructor Details

    • UngroupedBooleanArrayColumnSource

      public UngroupedBooleanArrayColumnSource(ColumnSource<boolean[]> innerSource)
  • Method Details

    • getComponentType

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

      public Boolean 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<Boolean>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the value at the index, potentially null.
    • getPrev

      public Boolean 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<Boolean>
      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<Boolean>
      Specified by:
      isImmutable in interface MutableColumnSource<Boolean>
      Returns:
      true if the values at a given index of the column source never change, false otherwise