Interface MutableColumnSourceGetDefaults.ForByte

All Superinterfaces:
ChunkSource<Attributes.Values>, ChunkSource.WithPrev<Attributes.Values>, ColumnSource<Byte>, ColumnSourceGetDefaults.ForByte, DefaultChunkSource<Attributes.Values>, DefaultChunkSource.WithPrev<Attributes.Values>, ElementSource<Byte>, FillContextMaker, GetContextMaker, MutableColumnSource<Byte>, Releasable, TupleExporter<Byte>, TupleSource<Byte>
All Known Implementing Classes:
BooleanAsByteColumnSource, ByteArraySource, ByteSingleValueSource, ByteSparseArraySource, UnboxedByteBackedColumnSource, UngroupedByteArrayColumnSource, UngroupedByteDbArrayColumnSource
Enclosing class:
MutableColumnSourceGetDefaults

public static interface MutableColumnSourceGetDefaults.ForByte extends ColumnSourceGetDefaults.ForByte, MutableColumnSource<Byte>
Default interface for mutable byte ColumnSource implementations.
  • Method Details

    • getPrev

      default Byte 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<Byte>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the previous value at the index, or null.
    • getPrevBoolean

      default Boolean getPrevBoolean(long index)
      Description copied from interface: ElementSource
      Get the previous value at the index as a Boolean. See ElementSource.getPrev(long) for more details.
      Specified by:
      getPrevBoolean in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous boolean at the index, or null.
    • getPrevChar

      default char getPrevChar(long index)
      Description copied from interface: ElementSource
      Get the previous value at the index as a char. See ElementSource.getPrev(long) for more details.
      Specified by:
      getPrevChar in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous char at the index, null values are represented by QueryConstants.NULL_CHAR
    • getPrevDouble

      default double getPrevDouble(long index)
      Description copied from interface: ElementSource
      Get the previous value at the index as a double. See ElementSource.getPrev(long) for more details.
      Specified by:
      getPrevDouble in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous double at the index, null values are represented by QueryConstants.NULL_DOUBLE
    • getPrevFloat

      default float getPrevFloat(long index)
      Description copied from interface: ElementSource
      Get the previous value at the index as a float. See ElementSource.getPrev(long) for more details.
      Specified by:
      getPrevFloat in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous float at the index, null values are represented by QueryConstants.NULL_FLOAT
    • getPrevInt

      default int getPrevInt(long index)
      Description copied from interface: ElementSource
      Get the previous value at the index as an int. See ElementSource.getPrev(long) for more details.
      Specified by:
      getPrevInt in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous int at the index, null values are represented by QueryConstants.NULL_INT
    • getPrevLong

      default long getPrevLong(long index)
      Description copied from interface: ElementSource
      Get the previous value at the index as a long. See ElementSource.getPrev(long) for more details.
      Specified by:
      getPrevLong in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous long at the index, null values are represented by QueryConstants.NULL_LONG
    • getPrevShort

      default short getPrevShort(long index)
      Description copied from interface: ElementSource
      Get the previous value at the index as a short. See ElementSource.getPrev(long) for more details.
      Specified by:
      getPrevShort in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous short at the index, null values are represented by QueryConstants.NULL_SHORT