Package io.deephaven.engine.table.impl
Interface ImmutableColumnSource<DATA_TYPE>
- All Superinterfaces:
ChunkSource<Values>
,ChunkSource.WithPrev<Values>
,ColumnSource<DATA_TYPE>
,ElementSource<DATA_TYPE>
,FillContextMaker
,GetContextMaker
,Releasable
,TupleExporter<DATA_TYPE>
,TupleSource<DATA_TYPE>
- All Known Subinterfaces:
ImmutableColumnSourceGetDefaults.ForBoolean
,ImmutableColumnSourceGetDefaults.ForByte
,ImmutableColumnSourceGetDefaults.ForChar
,ImmutableColumnSourceGetDefaults.ForDouble
,ImmutableColumnSourceGetDefaults.ForFloat
,ImmutableColumnSourceGetDefaults.ForInt
,ImmutableColumnSourceGetDefaults.ForLong
,ImmutableColumnSourceGetDefaults.ForLongAsInstant
,ImmutableColumnSourceGetDefaults.ForObject<DATA_TYPE>
,ImmutableColumnSourceGetDefaults.ForShort
,ImmutableColumnSourceGetDefaults.LongBacked<DATA_TYPE>
,RegionedColumnSource<DATA_TYPE>
- All Known Implementing Classes:
AbstractColumnSource.DefaultedImmutable
,ArrowBooleanColumnSource
,ArrowByteColumnSource
,ArrowCharColumnSource
,ArrowDoubleColumnSource
,ArrowFloatColumnSource
,ArrowInstantColumnSource
,ArrowIntColumnSource
,ArrowLocalTimeColumnSource
,ArrowLongColumnSource
,ArrowObjectColumnSource
,ArrowShortColumnSource
,ArrowStringColumnSource
,ArrowUInt1ColumnSource
,ArrowUInt4ColumnSource
,ArrowUInt8ColumnSource
,ByteChunkColumnSource
,CharChunkColumnSource
,DoubleChunkColumnSource
,FloatChunkColumnSource
,Immutable2DByteArraySource
,Immutable2DCharArraySource
,Immutable2DDoubleArraySource
,Immutable2DFloatArraySource
,Immutable2DInstantArraySource
,Immutable2DIntArraySource
,Immutable2DLongArraySource
,Immutable2DObjectArraySource
,Immutable2DShortArraySource
,Immutable2DZonedDateTimeArraySource
,ImmutableByteArraySource
,ImmutableCharArraySource
,ImmutableConstantByteSource
,ImmutableConstantCharSource
,ImmutableConstantDoubleSource
,ImmutableConstantFloatSource
,ImmutableConstantInstantSource
,ImmutableConstantIntSource
,ImmutableConstantLongSource
,ImmutableConstantObjectSource
,ImmutableConstantShortSource
,ImmutableConstantZonedDateTimeSource
,ImmutableDoubleArraySource
,ImmutableFloatArraySource
,ImmutableInstantArraySource
,ImmutableIntArraySource
,ImmutableLongArraySource
,ImmutableObjectArraySource
,ImmutableShortArraySource
,ImmutableZonedDateTimeArraySource
,IntChunkColumnSource
,LongChunkColumnSource
,ObjectChunkColumnSource
,RowKeyColumnSource
,ShortChunkColumnSource
,SingleValueObjectColumnSource
,SymbolTableToUniqueIdSource
Sub-interface of
ColumnSource
for implementations that always use return true
from
isImmutable()
and delegate all getPrev*
methods to their current (non-previous) equivalents.-
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.TupleExporter
TupleExporter.ExportElementFunction<TUPLE_TYPE>
-
Field Summary
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
Fields inherited from interface io.deephaven.engine.table.ColumnSource
ZERO_LENGTH_COLUMN_SOURCE_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptiondefault DATA_TYPE
getPrev
(long rowKey) Get the previous value at the rowKey.default Boolean
getPrevBoolean
(long rowKey) Get the previous value at the rowKey as a Boolean.default byte
getPrevByte
(long rowKey) Get the previous value at the rowKey as a byte.default char
getPrevChar
(long rowKey) Get the previous value at the rowKey as a char.default double
getPrevDouble
(long rowKey) Get the previous value at the rowKey as a double.default float
getPrevFloat
(long rowKey) Get the previous value at the rowKey as a float.default int
getPrevInt
(long rowKey) Get the previous value at the rowKey as an int.default long
getPrevLong
(long rowKey) Get the previous value at the rowKey as a long.default short
getPrevShort
(long rowKey) Get the previous value at the rowKey as a short.default boolean
Determine if this column source is immutable, meaning that the values at a given row key never change.Methods inherited from interface io.deephaven.engine.table.ChunkSource
fillChunk, getChunk, getChunk
Methods inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
fillPrevChunk, getPrevChunk, getPrevChunk
Methods inherited from interface io.deephaven.engine.table.ColumnSource
allowsReinterpret, cast, cast, cast, cast, createPreviousTuple, createTuple, createTupleFromValues, exportAllTo, exportElement, exportElement, getChunkType, getComponentType, getPrevSource, getType, isStateless, match, reinterpret, releaseCachedResources, startTrackingPrevValues, tupleLength
Methods inherited from interface io.deephaven.engine.table.ElementSource
get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getShort
Methods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContext, makeFillContext
Methods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContext, makeGetContext
Methods inherited from interface io.deephaven.engine.table.TupleExporter
exportAllReinterpretedTo, exportAllReinterpretedTo, exportAllTo, exportElementReinterpreted
Methods inherited from interface io.deephaven.engine.table.TupleSource
createTupleFromReinterpretedValues
-
Method Details
-
getPrev
Description copied from interface:ElementSource
Get the previous value at the rowKey. Previous values are used during anUG
update
cycle to process changes in data. Duringnormal
operation previous values will be identical tocurrent
values. RowKeys that were not present are undefined.- Specified by:
getPrev
in interfaceElementSource<DATA_TYPE>
- Parameters:
rowKey
- the location in key space to get the value from.- Returns:
- the previous value at the rowKey, potentially null.
-
getPrevBoolean
Description copied from interface:ElementSource
Get the previous value at the rowKey as a Boolean. SeeElementSource.getPrev(long)
for more details. RowKeys that were not present are undefined.- Specified by:
getPrevBoolean
in interfaceElementSource<DATA_TYPE>
- Parameters:
rowKey
- the location in key space to get the previous value from.- Returns:
- the previous boolean at the rowKey, potentially null.
-
getPrevByte
default byte getPrevByte(long rowKey) Description copied from interface:ElementSource
Get the previous value at the rowKey as a byte. SeeElementSource.getPrev(long)
for more details. RowKeys that were not present are undefined.- Specified by:
getPrevByte
in interfaceElementSource<DATA_TYPE>
- Parameters:
rowKey
- the location in key space to get the previous value from.- Returns:
- the previous boolean at the rowKey, null values are represented by
QueryConstants.NULL_BYTE
-
getPrevChar
default char getPrevChar(long rowKey) Description copied from interface:ElementSource
Get the previous value at the rowKey as a char. SeeElementSource.getPrev(long)
for more details. RowKeys that were not present are undefined.- Specified by:
getPrevChar
in interfaceElementSource<DATA_TYPE>
- Parameters:
rowKey
- ohe location in key space to get the previous value from.- Returns:
- the previous char at the rowKey, null values are represented by
QueryConstants.NULL_CHAR
-
getPrevDouble
default double getPrevDouble(long rowKey) Description copied from interface:ElementSource
Get the previous value at the rowKey as a double. SeeElementSource.getPrev(long)
for more details. RowKeys that were not present are undefined.- Specified by:
getPrevDouble
in interfaceElementSource<DATA_TYPE>
- Parameters:
rowKey
- the location in key space to get the previous value from.- Returns:
- the previous double at the rowKey, null values are represented by
QueryConstants.NULL_DOUBLE
-
getPrevFloat
default float getPrevFloat(long rowKey) Description copied from interface:ElementSource
Get the previous value at the rowKey as a float. SeeElementSource.getPrev(long)
for more details. RowKeys that were not present are undefined.- Specified by:
getPrevFloat
in interfaceElementSource<DATA_TYPE>
- Parameters:
rowKey
- the location in key space to get the previous value from.- Returns:
- the previous float at the rowKey, null values are represented by
QueryConstants.NULL_FLOAT
-
getPrevInt
default int getPrevInt(long rowKey) Description copied from interface:ElementSource
Get the previous value at the rowKey as an int. SeeElementSource.getPrev(long)
for more details. RowKeys that were not present are undefined.- Specified by:
getPrevInt
in interfaceElementSource<DATA_TYPE>
- Parameters:
rowKey
- the location in key space to get the previous value from.- Returns:
- the previous int at the rowKey, null values are represented by
QueryConstants.NULL_INT
-
getPrevLong
default long getPrevLong(long rowKey) Description copied from interface:ElementSource
Get the previous value at the rowKey as a long. SeeElementSource.getPrev(long)
for more details.- Specified by:
getPrevLong
in interfaceElementSource<DATA_TYPE>
- Parameters:
rowKey
- the location in key space to get the previous value from.- Returns:
- the previous long at the rowKey, null values are represented by
QueryConstants.NULL_LONG
-
getPrevShort
default short getPrevShort(long rowKey) Description copied from interface:ElementSource
Get the previous value at the rowKey as a short. SeeElementSource.getPrev(long)
for more details. RowKeys that were not present are undefined.- Specified by:
getPrevShort
in interfaceElementSource<DATA_TYPE>
- Parameters:
rowKey
- the location in key space to get the previous value from.- Returns:
- the previous short at the rowKey, null values are represented by
QueryConstants.NULL_SHORT
-
isImmutable
default boolean isImmutable()Description copied from interface:ColumnSource
Determine if this column source is immutable, meaning that the values at a given row key never change.- Specified by:
isImmutable
in interfaceColumnSource<DATA_TYPE>
- Returns:
- true if the values at a given row key of the column source never change, false otherwise
-