Class CharacterObjectColumnTupleSource
- All Implemented Interfaces:
ChunkSource<Values>,ChunkSource.WithPrev<Values>,FillContextMaker,GetContextMaker,DefaultChunkSource<Values>,DefaultChunkSource.WithPrev<Values>,TupleExporter<CharObjectTuple>,TupleSource<CharObjectTuple>
TupleSource that produces key column values from ColumnSource types Character and Object.
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
FieldsModifier and TypeFieldDescriptionstatic final TwoColumnTupleSourceFactory<CharObjectTuple,Character, Object> TwoColumnTupleSourceFactoryinstance to create instances ofCharacterObjectColumnTupleSource.Fields inherited from interface io.deephaven.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAYFields inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionCharacterObjectColumnTupleSource(@NotNull ColumnSource<Character> columnSource1, @NotNull ColumnSource<Object> columnSource2) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconvertChunks(@NotNull WritableChunk<? super Values> destination, int chunkSize, Chunk<? extends Values>[] chunks) final CharObjectTuplecreatePreviousTuple(long rowKey) Create a tuple for previous key column values at the supplied row key.final CharObjectTuplecreateTuple(long rowKey) Create a tuple for key column values at the supplied row key.final CharObjectTuplecreateTupleFromReinterpretedValues(@NotNull Object... values) Create a tuple for the supplied reinterpreted values.final CharObjectTuplecreateTupleFromValues(@NotNull Object... values) Create a tuple for the supplied (boxed) values.final ObjectexportElement(@NotNull CharObjectTuple tuple, int elementIndex) Export a single element from the tuple, identified by its element index, to an Objectfinal <ELEMENT_TYPE>
voidexportElement(@NotNull CharObjectTuple 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 ObjectexportElementReinterpreted(@NotNull CharObjectTuple 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, makeFillContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeGetContextMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource.WithPrev
getPrevChunk, getPrevChunk, getPrevChunkByFilling, getPrevSourceMethods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContextMethods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContext
-
Field Details
-
FACTORY
TwoColumnTupleSourceFactoryinstance to create instances ofCharacterObjectColumnTupleSource.
-
-
Constructor Details
-
CharacterObjectColumnTupleSource
public CharacterObjectColumnTupleSource(@NotNull @NotNull ColumnSource<Character> columnSource1, @NotNull @NotNull ColumnSource<Object> columnSource2)
-
-
Method Details
-
createTuple
Description copied from interface:TupleSourceCreate 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:TupleSourceCreate 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:TupleSourceCreate a tuple for the supplied (boxed) values.- Parameters:
values- The values- Returns:
- The resulting tuple
-
createTupleFromReinterpretedValues
Description copied from interface:TupleSourceCreate a tuple for the supplied reinterpreted values.- Parameters:
values- The values- Returns:
- The resulting tuple
-
exportElement
public final <ELEMENT_TYPE> void exportElement(@NotNull @NotNull CharObjectTuple tuple, int elementIndex, @NotNull @NotNull WritableColumnSource<ELEMENT_TYPE> writableSource, long destinationRowKey) Description copied from interface:TupleExporterExport 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:TupleExporterExport 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 CharObjectTuple tuple, int elementIndex) Description copied from interface:TupleExporterExport 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:
convertChunksin classAbstractTupleSource<CharObjectTuple>
-