Class InstantShortReinterpretedInstantColumnTupleSource
- All Implemented Interfaces:
ChunkSource<Values>
,ChunkSource.WithPrev<Values>
,FillContextMaker
,GetContextMaker
,DefaultChunkSource<Values>
,DefaultChunkSource.WithPrev<Values>
,TupleExporter<LongShortLongTuple>
,TupleSource<LongShortLongTuple>
TupleSource
that produces key column values from ColumnSource
types Instant, Short, and Long.
Generated by io.deephaven.replicators.TupleSourceCodeGenerator.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.engine.table.ChunkSource
ChunkSource.FillContext, ChunkSource.GetContext, ChunkSource.WithPrev<ATTR extends Any>
Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
DefaultChunkSource.SupportsContiguousGet<ATTR extends Any>, DefaultChunkSource.WithPrev<ATTR extends Any>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ThreeColumnTupleSourceFactory<LongShortLongTuple,
Instant, Short, Long> ThreeColumnTupleSourceFactory
instance to create instances ofInstantShortReinterpretedInstantColumnTupleSource
.Fields inherited from interface io.deephaven.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY
Fields inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAY
-
Constructor Summary
ConstructorDescriptionInstantShortReinterpretedInstantColumnTupleSource
(@NotNull ColumnSource<Instant> columnSource1, @NotNull ColumnSource<Short> columnSource2, @NotNull ColumnSource<Long> columnSource3) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
convertChunks
(@NotNull WritableChunk<? super Values> destination, int chunkSize, Chunk<? extends Values>[] chunks) final LongShortLongTuple
createPreviousTuple
(long rowKey) Create a tuple for previous key column values at the supplied row key.final LongShortLongTuple
createTuple
(long rowKey) Create a tuple for key column values at the supplied row key.final LongShortLongTuple
createTupleFromReinterpretedValues
(@NotNull Object... values) Create a tuple for the supplied reinterpreted values.final LongShortLongTuple
createTupleFromValues
(@NotNull Object... values) Create a tuple for the supplied (boxed) values.final Object
exportElement
(@NotNull LongShortLongTuple tuple, int elementIndex) Export a single element from the tuple, identified by its element index, to an Objectfinal <ELEMENT_TYPE>
voidexportElement
(@NotNull LongShortLongTuple tuple, int elementIndex, @NotNull WritableColumnSource<ELEMENT_TYPE> writableSource, long destinationRowKey) Export a single element from the tuple, identified by its element index, to the destination row key of the supplied writable source.final Object
exportElementReinterpreted
(@NotNull LongShortLongTuple tuple, int elementIndex) Export a single element from the tuple, identified by its element index, to an Object.Methods inherited from class io.deephaven.engine.table.impl.tuplesource.AbstractTupleSource
fillChunk, fillPrevChunk, getChunkType, getColumnSources, makeFillContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeGetContext
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource.WithPrev
getPrevChunk, getPrevChunk, getPrevChunkByFilling, getPrevSource
Methods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContext
Methods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContext
-
Field Details
-
FACTORY
ThreeColumnTupleSourceFactory
instance to create instances ofInstantShortReinterpretedInstantColumnTupleSource
.
-
-
Constructor Details
-
InstantShortReinterpretedInstantColumnTupleSource
public InstantShortReinterpretedInstantColumnTupleSource(@NotNull @NotNull ColumnSource<Instant> columnSource1, @NotNull @NotNull ColumnSource<Short> columnSource2, @NotNull @NotNull ColumnSource<Long> columnSource3)
-
-
Method Details
-
createTuple
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
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
Description copied from interface:TupleSource
Create a tuple for the supplied (boxed) values.- Parameters:
values
- The values- Returns:
- The resulting tuple
-
createTupleFromReinterpretedValues
public final LongShortLongTuple 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 LongShortLongTuple 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 fromelementIndex
- The element index to exportwritableSource
- The destinationdestinationRowKey
- The destination row key
-
exportElement
Description copied from interface:TupleExporter
Export a single element from the tuple, identified by its element index, to an ObjectFor 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 fromelementIndex
- The element index to export
-
exportElementReinterpreted
public final Object exportElementReinterpreted(@NotNull @NotNull LongShortLongTuple 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 fromelementIndex
- 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 classAbstractTupleSource<LongShortLongTuple>
-