Class ColumnRegionObjectWithDictionary<T,ATTR extends Values>
java.lang.Object
io.deephaven.enterprise.sources.regioned.impl.InvalidatableRegion<ATTR>
io.deephaven.enterprise.sources.regioned.impl.ColumnRegionObjectWithDictionary<T,ATTR>
- Type Parameters:
T-ATTR-
- All Implemented Interfaces:
Page<ATTR>,Page.WithDefaults<ATTR>,PagingChunkSource<ATTR>,ChunkSource<ATTR>,FillContextMaker,GetContextMaker,DefaultChunkSource<ATTR>,ColumnRegion<ATTR>,ColumnRegionObject<T,,ATTR> Releasable
public class ColumnRegionObjectWithDictionary<T,ATTR extends Values>
extends InvalidatableRegion<ATTR>
implements ColumnRegionObject<T,ATTR>, Page.WithDefaults<ATTR>
A Column region for objects that is backed by a dictionary of values. Note that the dictionary keys are in the flat
address space within the region
[0,regionSize), not of the region itself.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.engine.table.ChunkSource
ChunkSource.FillContext, ChunkSource.GetContextNested classes/interfaces inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegion
ColumnRegion.Null<ATTR extends Any>Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionObject
ColumnRegionObject.Constant<DATA_TYPE extends Object,ATTR extends Any>, ColumnRegionObject.DictionaryKeysWrapper, ColumnRegionObject.Null<DATA_TYPE extends Object, ATTR extends Any>, ColumnRegionObject.SelfDictionaryRegion<DATA_TYPE extends Object, ATTR extends Any>, ColumnRegionObject.StaticPageStore<DATA_TYPE extends Object, 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.page.Page
Page.WithDefaults<ATTR extends Any>, Page.WithDefaultsForRepeatingValues<ATTR extends Any> -
Field Summary
Fields inherited from interface io.deephaven.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionColumnRegionObjectWithDictionary(@NotNull ColumnRegionObject<T, ATTR> valuesRegion, @NotNull ColumnRegionLong<DictionaryKeys> dictionaryKeysRegion, int expectedObjectWidth) -
Method Summary
Modifier and TypeMethodDescriptionvoidfillChunkAppend(@NotNull ChunkSource.FillContext context, @NotNull WritableChunk<? super ATTR> destination, @NotNull RowSequence rowSequence) getObject(long elementIndex) getObject(@NotNull ChunkSource.FillContext context, long elementIndex) makeFillContext(int chunkCapacity, SharedContext sharedContext) longmask()voidsupportsDictionaryFormat(RowSet.SearchIterator keysToVisit) Methods inherited from class io.deephaven.enterprise.sources.regioned.impl.InvalidatableRegion
invalidate, throwIfInvalidatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegion
firstRowOffset, invalidateMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionObject
gatherDictionaryValuesRowSet, getChunkTypeMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeGetContextMethods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContextMethods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContextMethods inherited from interface io.deephaven.engine.page.Page
advanceToNextPage, advanceToNextPage, advanceToNextPageAndGetPositionDistance, firstRow, getRowOffsetMethods inherited from interface io.deephaven.engine.page.Page.WithDefaults
fillChunk, fillChunkAppendMethods inherited from interface io.deephaven.engine.page.PagingChunkSource
maxRow
-
Constructor Details
-
ColumnRegionObjectWithDictionary
public ColumnRegionObjectWithDictionary(@NotNull @NotNull ColumnRegionObject<T, ATTR> valuesRegion, @NotNull @NotNull ColumnRegionLong<DictionaryKeys> dictionaryKeysRegion, int expectedObjectWidth)
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceColumnRegionObject<T,ATTR extends Values>
-
getObject
- Specified by:
getObjectin interfaceColumnRegionObject<T,ATTR extends Values>
-
fillChunkAppend
public void fillChunkAppend(@NotNull @NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super ATTR> destination, @NotNull @NotNull RowSequence rowSequence) - Specified by:
fillChunkAppendin interfacePage.WithDefaults<T>
-
releaseCachedResources
public void releaseCachedResources()- Specified by:
releaseCachedResourcesin interfaceReleasable
-
supportsDictionaryFormat
- Specified by:
supportsDictionaryFormatin interfaceColumnRegionObject<T,ATTR extends Values>
-
getDictionaryValuesRegion
- Specified by:
getDictionaryValuesRegionin interfaceColumnRegionObject<T,ATTR extends Values>
-
getDictionaryKeysRegion
- Specified by:
getDictionaryKeysRegionin interfaceColumnRegionObject<T,ATTR extends Values>
-
mask
public long mask()- Specified by:
maskin interfacePagingChunkSource<T>
-