Class UngroupedShortVectorColumnSource
java.lang.Object
io.deephaven.engine.table.impl.AbstractColumnSource<T>
io.deephaven.engine.table.impl.sources.UngroupedColumnSource<Short>
io.deephaven.engine.table.impl.sources.UngroupedShortVectorColumnSource
- All Implemented Interfaces:
ChunkSource<Values>
,ChunkSource.WithPrev<Values>
,ColumnSource<Short>
,ElementSource<Short>
,FillContextMaker
,GetContextMaker
,ColumnSourceGetDefaults.ForShort
,DefaultChunkSource<Values>
,DefaultChunkSource.WithPrev<Values>
,MutableColumnSource<Short>
,MutableColumnSourceGetDefaults.ForShort
,Releasable
,TupleExporter<Short>
,TupleSource<Short>
public class UngroupedShortVectorColumnSource
extends UngroupedColumnSource<Short>
implements MutableColumnSourceGetDefaults.ForShort
-
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<?>
getPrev
(long rowKey) Get the previous value at the rowKey.short
getPrevShort
(long rowKey) Get the previous value at the rowKey as a short.short
getShort
(long rowKey) Get the value at the rowKey as a short.boolean
Determine if this column source is immutable, meaning that the values at a given row key never change.boolean
Most column sources will return the same value for a given row without respect to the order that the rows are read.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, match, reinterpret, releaseCachedResources, startTrackingPrevValues, tupleLength
Methods inherited from interface io.deephaven.engine.table.impl.ColumnSourceGetDefaults.ForShort
getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong
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.ForShort
getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong
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
-
UngroupedShortVectorColumnSource
-
-
Method Details
-
getComponentType
- Specified by:
getComponentType
in interfaceColumnSource<Short>
- Overrides:
getComponentType
in classAbstractColumnSource<Short>
-
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 interfaceColumnSourceGetDefaults.ForShort
- Specified by:
get
in interfaceElementSource<Short>
- Parameters:
rowKey
- the location in key space to get the value from.- Returns:
- the value at the rowKey, potentially null.
-
getShort
public short getShort(long rowKey) Description copied from interface:ElementSource
Get the value at the rowKey as a short. RowKeys that are not present are undefined.- Specified by:
getShort
in interfaceElementSource<Short>
- Parameters:
rowKey
- the location in key space to get the value from.- Returns:
- the short at the rowKey, null values are represented by
QueryConstants.NULL_SHORT
-
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<Short>
- Specified by:
getPrev
in interfaceMutableColumnSourceGetDefaults.ForShort
- Parameters:
rowKey
- the location in key space to get the value from.- Returns:
- the previous value at the rowKey, potentially null.
-
getPrevShort
public 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<Short>
- 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
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<Short>
- Specified by:
isImmutable
in interfaceMutableColumnSource<Short>
- Returns:
- true if the values at a given row key of the column source never change, false otherwise
-
isStateless
public boolean isStateless()Description copied from interface:ColumnSource
Most column sources will return the same value for a given row without respect to the order that the rows are read. Those columns sources are considered "stateless" and should return true. Some column sources, however may be dependent on evaluation order. For example, a formula that updates a Map must be evaluated from the first row to the last row. A column source that has the potential to depend on the order of evaluation must return false.- Specified by:
isStateless
in interfaceColumnSource<Short>
- Returns:
- true if this is a stateless column source
-