Interface SsmBackedColumnSource<K extends SegmentedSortedMultiSet,T extends Vector>
- Type Parameters:
K
- The SSM TypeT
- The provided Array type
- All Superinterfaces:
ChunkSource<Values>
,ChunkSource.WithPrev<Values>
,ColumnSource<T>
,ElementSource<T>
,FillContextMaker
,GetContextMaker
,Releasable
,TupleExporter<T>
,TupleSource<T>
- All Known Implementing Classes:
ByteSsmBackedSource
,CharSsmBackedSource
,DoubleSsmBackedSource
,FloatSsmBackedSource
,IntSsmBackedSource
,LongSsmBackedSource
,ObjectSsmBackedSource
,ShortSsmBackedSource
public interface SsmBackedColumnSource<K extends SegmentedSortedMultiSet,T extends Vector>
extends ColumnSource<T>
-
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 TypeMethodDescriptionvoid
clear
(long key) Set the SSM at the specified key to nullvoid
clearDeltas
(RowSet indices) Clear out any tracked deltas from recent computations.void
ensureCapacity
(long capacity) Ensure the source has at least `capacity` capacitygetCurrentSsm
(long key) Get the current SSM at the specified key.getOrCreate
(long key) Get the ssm at the specified key, creating one if none existed.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, createPreviousTuple, createTuple, createTupleFromValues, exportAllTo, exportElement, exportElement, getChunkType, getComponentType, getPrevSource, getType, isImmutable, isStateless, match, reinterpret, releaseCachedResources, startTrackingPrevValues, tupleLength
Methods inherited from interface io.deephaven.engine.table.ElementSource
get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getPrev, getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong, getPrevShort, 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
-
getUnderlyingSource
ObjectArraySource<K> getUnderlyingSource() -
getCurrentSsm
Get the current SSM at the specified key. This does not permute it in any way.- Parameters:
key
- the key to get the ssm for.- Returns:
- the SSM
-
getOrCreate
Get the ssm at the specified key, creating one if none existed. This method will update the current previous tracking state of the SSM.- Parameters:
key
- the key to get the ssm for.- Returns:
- the SSM at the key, or a new one.
-
clear
void clear(long key) Set the SSM at the specified key to null- Parameters:
key
- the key to get the ssm for.
-
ensureCapacity
void ensureCapacity(long capacity) Ensure the source has at least `capacity` capacity- Parameters:
capacity
- the capacity to ensure.
-
clearDeltas
Clear out any tracked deltas from recent computations.- Parameters:
indices
- the set of indices to clear deltas for.
-