Class UngroupedBoxedIntArrayColumnSource
java.lang.Object
io.deephaven.engine.table.impl.AbstractColumnSource<T>
io.deephaven.engine.table.impl.sources.UngroupedColumnSource<Integer>
io.deephaven.engine.table.impl.sources.UngroupedBoxedIntArrayColumnSource
- All Implemented Interfaces:
ChunkSource<Values>
,ChunkSource.WithPrev<Values>
,ColumnSource<Integer>
,ElementSource<Integer>
,FillContextMaker
,GetContextMaker
,ColumnSourceGetDefaults.ForObject<Integer>
,DefaultChunkSource<Values>
,DefaultChunkSource.WithPrev<Values>
,MutableColumnSource<Integer>
,MutableColumnSourceGetDefaults.ForObject<Integer>
,Releasable
,TupleExporter<Integer>
,TupleSource<Integer>
public class UngroupedBoxedIntArrayColumnSource
extends UngroupedColumnSource<Integer>
implements MutableColumnSourceGetDefaults.ForObject<Integer>
An Ungrouped Column sourced for the Boxed Type Integer.
The UngroupedBoxedC-harArrayColumnSource is replicated to all other types with io.deephaven.engine.table.impl.sources.Replicate. (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment).
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
AbstractColumnSource.DefaultedImmutable<DATA_TYPE>, AbstractColumnSource.DefaultedMutable<DATA_TYPE>
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>
Nested classes/interfaces inherited from interface io.deephaven.engine.table.TupleExporter
TupleExporter.ExportElementFunction<TUPLE_TYPE>
-
Field Summary
Fields inherited from class io.deephaven.engine.table.impl.sources.UngroupedColumnSource
base
Fields inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
componentType, type, updateGraph, USE_RANGES_AVERAGE_RUN_LENGTH
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(long rowKey) Get the value from the source.Class<?>
int
getInt
(long rowKey) Get the value at the rowKey as an int.getPrev
(long rowKey) Get the previous value at the rowKey.int
getPrevInt
(long rowKey) Get the previous value at the rowKey as an int.boolean
Determine if this column source is immutable, meaning that the values at a given row key never change.Methods inherited from class io.deephaven.engine.table.impl.sources.UngroupedColumnSource
getColumnSource, getPrevBase, initializeBase, setBase, startTrackingPrevValues
Methods inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
allowsReinterpret, defaultFillChunk, defaultFillPrevChunk, doReinterpret, fillChunk, fillPrevChunk, getPrevSource, getType, match, reinterpret
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.ChunkSource
fillChunk
Methods inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
fillPrevChunk
Methods inherited from interface io.deephaven.engine.table.ColumnSource
allowsReinterpret, cast, cast, createPreviousTuple, createTuple, createTupleFromValues, exportAllTo, exportElement, exportElement, getChunkType, getPrevSource, getType, isStateless, match, reinterpret, releaseCachedResources, startTrackingPrevValues, tupleLength
Methods inherited from interface io.deephaven.engine.table.impl.ColumnSourceGetDefaults.ForObject
getBoolean, getByte, getChar, getDouble, getFloat, getLong, getShort
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeFillContext, makeGetContext
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource.WithPrev
getPrevChunk, getPrevChunk, getPrevChunkByFilling
Methods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContext
Methods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContext
Methods inherited from interface io.deephaven.engine.table.impl.MutableColumnSourceGetDefaults.ForObject
getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevLong, getPrevShort
Methods inherited from interface io.deephaven.engine.table.TupleExporter
exportAllReinterpretedTo, exportAllReinterpretedTo, exportAllTo, exportElementReinterpreted
Methods inherited from interface io.deephaven.engine.table.TupleSource
createTupleFromReinterpretedValues
-
Constructor Details
-
UngroupedBoxedIntArrayColumnSource
-
-
Method Details
-
getComponentType
- Specified by:
getComponentType
in interfaceColumnSource<Integer>
- Overrides:
getComponentType
in classAbstractColumnSource<Integer>
-
get
Description copied from interface:ElementSource
Get the value from the source. This may return boxed values for basic types. RowKeys that are not present are undefined.- Specified by:
get
in interfaceElementSource<Integer>
- Parameters:
rowKey
- the location in key space to get the value from.- Returns:
- the value at the rowKey, potentially null.
-
getInt
public int getInt(long rowKey) Description copied from interface:ElementSource
Get the value at the rowKey as an int. RowKeys that are not present are undefined.- Specified by:
getInt
in interfaceColumnSourceGetDefaults.ForObject<Integer>
- Specified by:
getInt
in interfaceElementSource<Integer>
- Parameters:
rowKey
- the location in key space to get the value from.- Returns:
- the int at the rowKey, null values are represented by
QueryConstants.NULL_INT
-
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<Integer>
- Parameters:
rowKey
- the location in key space to get the value from.- Returns:
- the previous value at the rowKey, potentially null.
-
getPrevInt
public 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<Integer>
- Specified by:
getPrevInt
in interfaceMutableColumnSourceGetDefaults.ForObject<Integer>
- 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
-
isImmutable
public 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<Integer>
- Specified by:
isImmutable
in interfaceMutableColumnSource<Integer>
- Returns:
- true if the values at a given row key of the column source never change, false otherwise
-