Class CharacterBooleanLongColumnTupleSource
- All Implemented Interfaces:
ChunkSource<Values>,ChunkSource.WithPrev<Values>,FillContextMaker,GetContextMaker,DefaultChunkSource<Values>,DefaultChunkSource.WithPrev<Values>,TupleExporter<CharByteLongTuple>,TupleSource<CharByteLongTuple>
TupleSource that produces key column values from ColumnSource types Character, Boolean, 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
FieldsModifier and TypeFieldDescriptionstatic final ThreeColumnTupleSourceFactory<CharByteLongTuple,Character, Boolean, Long> ThreeColumnTupleSourceFactoryinstance to create instances ofCharacterBooleanLongColumnTupleSource.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
ConstructorsConstructorDescriptionCharacterBooleanLongColumnTupleSource(@NotNull ColumnSource<Character> columnSource1, @NotNull ColumnSource<Boolean> columnSource2, @NotNull ColumnSource<Long> columnSource3) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconvertChunks(@NotNull WritableChunk<? super Values> destination, int chunkSize, Chunk<? extends Values>[] chunks) final CharByteLongTuplecreatePreviousTuple(long rowKey) Create a tuple for previous key column values at the supplied row key.final CharByteLongTuplecreateTuple(long rowKey) Create a tuple for key column values at the supplied row key.final CharByteLongTuplecreateTupleFromReinterpretedValues(@NotNull Object... values) Create a tuple for the supplied reinterpreted values.final CharByteLongTuplecreateTupleFromValues(@NotNull Object... values) Create a tuple for the supplied (boxed) values.final ObjectexportElement(@NotNull CharByteLongTuple tuple, int elementIndex) Export a single element from the tuple, identified by its element index, to an Objectfinal <ELEMENT_TYPE>
voidexportElement(@NotNull CharByteLongTuple 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 CharByteLongTuple 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
ThreeColumnTupleSourceFactoryinstance to create instances ofCharacterBooleanLongColumnTupleSource.
-
-
Constructor Details
-
CharacterBooleanLongColumnTupleSource
public CharacterBooleanLongColumnTupleSource(@NotNull @NotNull ColumnSource<Character> columnSource1, @NotNull @NotNull ColumnSource<Boolean> columnSource2, @NotNull @NotNull ColumnSource<Long> columnSource3)
-
-
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
public final CharByteLongTuple createTupleFromReinterpretedValues(@NotNull @NotNull Object... values) 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 CharByteLongTuple 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 CharByteLongTuple 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<CharByteLongTuple>
-