Class ReinterpretedBooleanReinterpretedInstantShortColumnTupleSource

java.lang.Object
io.deephaven.engine.table.impl.tuplesource.AbstractTupleSource<ByteLongShortTuple>
io.deephaven.engine.table.impl.tuplesource.generated.ReinterpretedBooleanReinterpretedInstantShortColumnTupleSource
All Implemented Interfaces:
ChunkSource<Values>, ChunkSource.WithPrev<Values>, FillContextMaker, GetContextMaker, DefaultChunkSource<Values>, DefaultChunkSource.WithPrev<Values>, TupleExporter<ByteLongShortTuple>, TupleSource<ByteLongShortTuple>

public class ReinterpretedBooleanReinterpretedInstantShortColumnTupleSource extends AbstractTupleSource<ByteLongShortTuple>

TupleSource that produces key column values from ColumnSource types Byte, Long, and Short.

Generated by io.deephaven.replicators.TupleSourceCodeGenerator.

  • Field Details

  • Constructor Details

    • ReinterpretedBooleanReinterpretedInstantShortColumnTupleSource

      public ReinterpretedBooleanReinterpretedInstantShortColumnTupleSource(@NotNull @NotNull ColumnSource<Byte> columnSource1, @NotNull @NotNull ColumnSource<Long> columnSource2, @NotNull @NotNull ColumnSource<Short> columnSource3)
  • Method Details

    • createTuple

      public final ByteLongShortTuple createTuple(long rowKey)
      Description copied from interface: TupleSource
      Create a tuple for key column values at the supplied row key.
      Parameters:
      rowKey - The row key
      Returns:
      The resulting tuple
    • createPreviousTuple

      public final ByteLongShortTuple createPreviousTuple(long rowKey)
      Description copied from interface: TupleSource
      Create a tuple for previous key column values at the supplied row key.
      Parameters:
      rowKey - The row key
      Returns:
      The resulting tuple
    • createTupleFromValues

      public final ByteLongShortTuple createTupleFromValues(@NotNull @NotNull Object... values)
      Description copied from interface: TupleSource
      Create a tuple for the supplied (boxed) values.
      Parameters:
      values - The values
      Returns:
      The resulting tuple
    • createTupleFromReinterpretedValues

      public final ByteLongShortTuple createTupleFromReinterpretedValues(@NotNull @NotNull Object... values)
      Description copied from interface: TupleSource
      Create a tuple for the supplied reinterpreted values.
      Parameters:
      values - The values
      Returns:
      The resulting tuple
    • exportElement

      public final <ELEMENT_TYPE> void exportElement(@NotNull @NotNull ByteLongShortTuple tuple, int elementIndex, @NotNull @NotNull WritableColumnSource<ELEMENT_TYPE> writableSource, long destinationRowKey)
      Description copied from interface: TupleExporter
      Export a single element from the tuple, identified by its element index, to the destination row key of the supplied writable source.

      For the empty tuple, this is unsupported.

      For singles, this will copy the sole element, possibly in boxed form.

      For doubles and longer, this will copy the specified element without any unnecessary boxing.

      Parameters:
      tuple - The tuple to export an element from
      elementIndex - The element index to export
      writableSource - The destination
      destinationRowKey - The destination row key
    • exportElement

      public final Object exportElement(@NotNull @NotNull ByteLongShortTuple tuple, int elementIndex)
      Description copied from interface: TupleExporter
      Export a single element from the tuple, identified by its element index, to an Object

      For the empty tuple, this is unsupported.

      For singles, this will copy the sole element, possibly in boxed form.

      For doubles and longer, this will copy the specified element without any unnecessary boxing.

      Parameters:
      tuple - The tuple to export an element from
      elementIndex - The element index to export
    • exportElementReinterpreted

      public final Object exportElementReinterpreted(@NotNull @NotNull ByteLongShortTuple tuple, int elementIndex)
      Description copied from interface: TupleExporter
      Export a single element from the tuple, identified by its element index, to an Object. If the tuple has been internally reinterpreted, return the reinterpreted value.

      For the empty tuple, this is unsupported.

      For singles, this will copy the sole element, possibly in boxed form.

      For doubles and longer, this will copy the specified element without any unnecessary boxing.

      Parameters:
      tuple - The tuple to export an element from
      elementIndex - The element index to export
    • convertChunks

      protected void convertChunks(@NotNull @NotNull WritableChunk<? super Values> destination, int chunkSize, Chunk<? extends Values>[] chunks)
      Specified by:
      convertChunks in class AbstractTupleSource<ByteLongShortTuple>