Class ObjectObjectInstantColumnTupleSource
- All Implemented Interfaces:
ChunkSource<Values>
,ChunkSource.WithPrev<Values>
,FillContextMaker
,GetContextMaker
,DefaultChunkSource<Values>
,DefaultChunkSource.WithPrev<Values>
,TupleExporter<ObjectObjectLongTuple>
,TupleSource<ObjectObjectLongTuple>
TupleSource
that produces key column values from ColumnSource
types Object, Object, and Instant.
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<ObjectObjectLongTuple,
Object, Object, Instant> ThreeColumnTupleSourceFactory
instance to create instances ofObjectObjectInstantColumnTupleSource
.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
ConstructorDescriptionObjectObjectInstantColumnTupleSource
(@NotNull ColumnSource<Object> columnSource1, @NotNull ColumnSource<Object> columnSource2, @NotNull ColumnSource<Instant> columnSource3) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
convertChunks
(@NotNull WritableChunk<? super Values> destination, int chunkSize, Chunk<? extends Values>[] chunks) final ObjectObjectLongTuple
createPreviousTuple
(long rowKey) Create a tuple for previous key column values at the supplied row key.final ObjectObjectLongTuple
createTuple
(long rowKey) Create a tuple for key column values at the supplied row key.final ObjectObjectLongTuple
createTupleFromReinterpretedValues
(@NotNull Object... values) Create a tuple for the supplied reinterpreted values.final ObjectObjectLongTuple
createTupleFromValues
(@NotNull Object... values) Create a tuple for the supplied (boxed) values.final Object
exportElement
(@NotNull ObjectObjectLongTuple tuple, int elementIndex) Export a single element from the tuple, identified by its element index, to an Objectfinal <ELEMENT_TYPE>
voidexportElement
(@NotNull ObjectObjectLongTuple 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 ObjectObjectLongTuple 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
public static final ThreeColumnTupleSourceFactory<ObjectObjectLongTuple,Object, FACTORYObject, Instant> ThreeColumnTupleSourceFactory
instance to create instances ofObjectObjectInstantColumnTupleSource
.
-
-
Constructor Details
-
ObjectObjectInstantColumnTupleSource
public ObjectObjectInstantColumnTupleSource(@NotNull @NotNull ColumnSource<Object> columnSource1, @NotNull @NotNull ColumnSource<Object> columnSource2, @NotNull @NotNull ColumnSource<Instant> 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 ObjectObjectLongTuple 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 ObjectObjectLongTuple 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 ObjectObjectLongTuple 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<ObjectObjectLongTuple>
-