Class UngroupedDoubleArrayColumnSource
java.lang.Object
io.deephaven.engine.table.impl.AbstractColumnSource<T>
io.deephaven.engine.table.impl.sources.UngroupedColumnSource<Double>
io.deephaven.engine.table.impl.sources.UngroupedDoubleArrayColumnSource
- All Implemented Interfaces:
ChunkSource<Values>
,ChunkSource.WithPrev<Values>
,ColumnSource<Double>
,ElementSource<Double>
,FillContextMaker
,GetContextMaker
,ColumnSourceGetDefaults.ForDouble
,DefaultChunkSource<Values>
,DefaultChunkSource.WithPrev<Values>
,MutableColumnSource<Double>
,MutableColumnSourceGetDefaults.ForDouble
,Releasable
,TupleExporter<Double>
,TupleSource<Double>
public class UngroupedDoubleArrayColumnSource
extends UngroupedColumnSource<Double>
implements MutableColumnSourceGetDefaults.ForDouble
-
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 TypeMethodDescriptionClass<?>
double
getDouble
(long rowKey) Get the value at the rowKey as a double.double
getPrevDouble
(long rowKey) Get the previous value at the rowKey as a double.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, 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.ForDouble
get, getBoolean, getByte, getChar, getFloat, getInt, 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.ForDouble
getPrev, getPrevBoolean, getPrevByte, getPrevChar, getPrevFloat, getPrevInt, 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
-
UngroupedDoubleArrayColumnSource
-
-
Method Details
-
getComponentType
- Specified by:
getComponentType
in interfaceColumnSource<Double>
- Overrides:
getComponentType
in classAbstractColumnSource<Double>
-
getDouble
public double getDouble(long rowKey) Description copied from interface:ElementSource
Get the value at the rowKey as a double. RowKeys that are not present are undefined.- Specified by:
getDouble
in interfaceElementSource<Double>
- Parameters:
rowKey
- the location in key space to get the value from.- Returns:
- the double at the rowKey, null values are represented by
QueryConstants.NULL_DOUBLE
-
getPrevDouble
public 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<Double>
- 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
-
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<Double>
- Specified by:
isImmutable
in interfaceMutableColumnSource<Double>
- 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<Double>
- Returns:
- true if this is a stateless column source
-