Class UngroupedBoxedShortDbArrayColumnSource

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

public class UngroupedBoxedShortDbArrayColumnSource extends UngroupedDbArrayColumnSource<Short>
An Ungrouped Column sourced for the Boxed Type Short.

The UngroupedBoxedC-harDbArrayColumnSource is replicated to all other types with com.illumon.iris.db.v2.sources.Replicate. (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment).

See Also:
  • Constructor Details

    • UngroupedBoxedShortDbArrayColumnSource

      public UngroupedBoxedShortDbArrayColumnSource(ColumnSource<DbArray<Short>> innerSource)
  • Method Details

    • getShort

      public short getShort(long index)
      Description copied from interface: ElementSource
      Get the value at the index as a short.
      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
    • getPrevShort

      public 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.
      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