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