Class FloatDoubleReinterpretedInstantColumnTupleSource

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

public class FloatDoubleReinterpretedInstantColumnTupleSource extends AbstractTupleSource<FloatDoubleLongTuple>

TupleSource that produces key column values from ColumnSource types Float, Double, and Long.

Generated by io.deephaven.replicators.TupleSourceCodeGenerator.

  • Field Details

  • Constructor Details

    • FloatDoubleReinterpretedInstantColumnTupleSource

      public FloatDoubleReinterpretedInstantColumnTupleSource(@NotNull @NotNull ColumnSource<Float> columnSource1, @NotNull @NotNull ColumnSource<Double> columnSource2, @NotNull @NotNull ColumnSource<Long> columnSource3)
  • Method Details

    • createTuple

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