Interface ColumnSourceGetDefaults.ForByte

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

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

    • get

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

      default Boolean getBoolean​(long index)
      Description copied from interface: ElementSource
      Get the value at the index as a Boolean.
      Specified by:
      getBoolean in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the boolean at the index, potentially null.
    • getChar

      default char getChar​(long index)
      Description copied from interface: ElementSource
      Get the value at the index as a char.
      Specified by:
      getChar in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the char at the index, null values are represented by QueryConstants.NULL_CHAR
    • getDouble

      default double getDouble​(long index)
      Description copied from interface: ElementSource
      Get the value at the index as a double.
      Specified by:
      getDouble in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the double at the index, null values are represented by QueryConstants.NULL_DOUBLE
    • getFloat

      default float getFloat​(long index)
      Description copied from interface: ElementSource
      Get the value at the index as a float.
      Specified by:
      getFloat in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the float at the index, null values are represented by QueryConstants.NULL_FLOAT
    • getInt

      default int getInt​(long index)
      Description copied from interface: ElementSource
      Get the value at the index as an int.
      Specified by:
      getInt in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the int at the index, null values are represented by QueryConstants.NULL_INT
    • getLong

      default long getLong​(long index)
      Description copied from interface: ElementSource
      Get the value at the index as a long.
      Specified by:
      getLong in interface ElementSource<Byte>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the long at the index, null values are represented by QueryConstants.NULL_LONG
    • getShort

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