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.GetContext
Nested 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 TypeMethodDescriptionvoid
fillChunkAppend
(@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) long
mask()
void
supportsDictionaryFormat
(RowSet.SearchIterator keysToVisit) Methods inherited from class io.deephaven.enterprise.sources.regioned.impl.InvalidatableRegion
invalidate, throwIfInvalidated
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.impl.sources.regioned.ColumnRegion
firstRowOffset, invalidate
Methods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionObject
gatherDictionaryValuesRowSet, getChunkType
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeGetContext
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.page.Page
advanceToNextPage, advanceToNextPage, advanceToNextPageAndGetPositionDistance, firstRow, getRowOffset
Methods inherited from interface io.deephaven.engine.page.Page.WithDefaults
fillChunk, fillChunkAppend
Methods 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:
getObject
in interfaceColumnRegionObject<T,
ATTR extends Values>
-
getObject
- Specified by:
getObject
in 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:
fillChunkAppend
in interfacePage.WithDefaults<T>
-
releaseCachedResources
public void releaseCachedResources()- Specified by:
releaseCachedResources
in interfaceReleasable
-
supportsDictionaryFormat
- Specified by:
supportsDictionaryFormat
in interfaceColumnRegionObject<T,
ATTR extends Values>
-
getDictionaryValuesRegion
- Specified by:
getDictionaryValuesRegion
in interfaceColumnRegionObject<T,
ATTR extends Values>
-
getDictionaryKeysRegion
- Specified by:
getDictionaryKeysRegion
in interfaceColumnRegionObject<T,
ATTR extends Values>
-
mask
public long mask()- Specified by:
mask
in interfacePagingChunkSource<T>
-