Class ByteObjectReinterpretedInstantColumnTupleSource

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

public class ByteObjectReinterpretedInstantColumnTupleSource extends AbstractTupleSource<ByteObjectLongTuple>

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

Generated by io.deephaven.replicators.TupleSourceCodeGenerator.

  • Field Details

  • Constructor Details

    • ByteObjectReinterpretedInstantColumnTupleSource

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

    • createTuple

      public final ByteObjectLongTuple 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 ByteObjectLongTuple 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 ByteObjectLongTuple 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 ByteObjectLongTuple 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 ByteObjectLongTuple 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 ByteObjectLongTuple 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 ByteObjectLongTuple 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<ByteObjectLongTuple>