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_ARRAYFields inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAYFields inherited from interface io.deephaven.engine.table.ColumnSource
ZERO_LENGTH_COLUMN_SOURCE_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionvoidclear(long key) Set the SSM at the specified key to nullvoidclearDeltas(RowSet indices) Clear out any tracked deltas from recent computations.voidensureCapacity(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, getChunkMethods inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
fillPrevChunk, getPrevChunk, getPrevChunkMethods inherited from interface io.deephaven.engine.table.ColumnSource
allowsReinterpret, cast, cast, cast, cast, createPreviousTuple, createTuple, createTupleFromValues, exportAllTo, exportElement, exportElement, getChunkType, getComponentType, getPrevSource, getType, isImmutable, isStateless, match, reinterpret, releaseCachedResources, startTrackingPrevValues, tupleLengthMethods 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, getShortMethods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContext, makeFillContextMethods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContext, makeGetContextMethods inherited from interface io.deephaven.engine.table.TupleExporter
exportAllReinterpretedTo, exportAllReinterpretedTo, exportAllTo, exportElementReinterpretedMethods 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.
-