Class UngroupedBooleanArrayColumnSource

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

public class UngroupedBooleanArrayColumnSource extends UngroupedColumnSource<Boolean> implements MutableColumnSourceGetDefaults.ForBoolean
  • 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 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.
      Specified by:
      get in interface ElementSource<Boolean>
      Parameters:
      rowKey - the location in key space to get the value from.
      Returns:
      the value at the rowKey, potentially null.
    • getPrev

      public Boolean 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.
      Specified by:
      getPrev in interface ElementSource<Boolean>
      Parameters:
      rowKey - the location in key space to get the value from.
      Returns:
      the previous value at the rowKey, potentially null.
    • isImmutable

      public boolean isImmutable()
      Description copied from interface: ColumnSource
      Determine if this column source is immutable, meaning that the values at a given row 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 row key of the column source never change, false otherwise