Class UngroupedBoxedByteArrayColumnSource

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

public class UngroupedBoxedByteArrayColumnSource extends UngroupedColumnSource<Byte> implements MutableColumnSourceGetDefaults.ForObject<Byte>
An Ungrouped Column sourced for the Boxed Type Byte.

The UngroupedBoxedC-harArrayColumnSource is replicated to all other types with io.deephaven.engine.table.impl.sources.Replicate. (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment).

  • Constructor Details

    • UngroupedBoxedByteArrayColumnSource

      public UngroupedBoxedByteArrayColumnSource(ColumnSource<Byte[]> innerSource)
  • Method Details

    • getComponentType

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

      public Byte 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<Byte>
      Parameters:
      rowKey - the location in key space to get the value from.
      Returns:
      the value at the rowKey, potentially null.
    • getByte

      public byte getByte(long rowKey)
      Description copied from interface: ElementSource
      Get the value at the rowKey as a byte. RowKeys that are not present are undefined.
      Specified by:
      getByte in interface ColumnSourceGetDefaults.ForObject<Byte>
      Specified by:
      getByte in interface ElementSource<Byte>
      Parameters:
      rowKey - the location in key space to get the value from.
      Returns:
      the boolean at the rowKey, null values are represented by QueryConstants.NULL_BYTE
    • getPrev

      public Byte 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<Byte>
      Parameters:
      rowKey - the location in key space to get the value from.
      Returns:
      the previous value at the rowKey, potentially null.
    • getPrevByte

      public byte getPrevByte(long rowKey)
      Description copied from interface: ElementSource
      Get the previous value at the rowKey as a byte. See ElementSource.getPrev(long) for more details. RowKeys that were not present are undefined.
      Specified by:
      getPrevByte in interface ElementSource<Byte>
      Specified by:
      getPrevByte in interface MutableColumnSourceGetDefaults.ForObject<Byte>
      Parameters:
      rowKey - the location in key space to get the previous value from.
      Returns:
      the previous boolean at the rowKey, null values are represented by QueryConstants.NULL_BYTE
    • 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<Byte>
      Specified by:
      isImmutable in interface MutableColumnSource<Byte>
      Returns:
      true if the values at a given row key of the column source never change, false otherwise