Class ReinterpretedBooleanReinterpretedBooleanObjectColumnTupleSource

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

public class ReinterpretedBooleanReinterpretedBooleanObjectColumnTupleSource extends AbstractTupleSource<ByteByteObjectTuple>

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

Generated by io.deephaven.replicators.TupleSourceCodeGenerator.

  • Field Details

  • Constructor Details

    • ReinterpretedBooleanReinterpretedBooleanObjectColumnTupleSource

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

    • createTuple

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