Class ColumnRegionObject.DictionaryKeysWrapper
java.lang.Object
io.deephaven.engine.table.impl.sources.regioned.ColumnRegionObject.DictionaryKeysWrapper
- All Implemented Interfaces:
Page<DictionaryKeys>
,Page.WithDefaults<DictionaryKeys>
,PagingChunkSource<DictionaryKeys>
,ChunkSource<DictionaryKeys>
,FillContextMaker
,GetContextMaker
,DefaultChunkSource<DictionaryKeys>
,ColumnRegion<DictionaryKeys>
,ColumnRegionLong<DictionaryKeys>
,Releasable
- Enclosing interface:
- ColumnRegionObject<DATA_TYPE,
ATTR extends Any>
public static final class ColumnRegionObject.DictionaryKeysWrapper
extends Object
implements ColumnRegionLong<DictionaryKeys>, Page.WithDefaults<DictionaryKeys>
-
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.ColumnRegionLong
ColumnRegionLong.Constant<ATTR extends Any>, ColumnRegionLong.Null<ATTR extends Any>, ColumnRegionLong.StaticPageStore<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
-
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnRegionLong<DictionaryKeys>
create
(RegionedPageStore.Parameters parameters, int regionIndex, @NotNull ColumnRegionObject<?, ?> sourceRegion) void
fillChunkAppend
(@NotNull ChunkSource.FillContext context, @NotNull WritableChunk<? super DictionaryKeys> destination, @NotNull RowSequence rowSequence) Appends the values referenced byorderKeys
ontodestination
.long
getLong
(long elementIndex) Get a single long from this region.long
getLong
(@NotNull ChunkSource.FillContext context, long elementIndex) Get a single long from this region.void
Invalidate the region -- any further reads that cannot be completed consistently and correctly will fail.long
mask()
This mask is applied toRowSequences
which are passed intoDefaultChunkSource.getChunk(io.deephaven.engine.table.ChunkSource.GetContext, io.deephaven.engine.rowset.RowSequence)
,ChunkSource.fillChunk(io.deephaven.engine.table.ChunkSource.FillContext, io.deephaven.chunk.WritableChunk<? super ATTR>, io.deephaven.engine.rowset.RowSequence)
, andPagingChunkSource.fillChunkAppend(FillContext, WritableChunk, RowSequence.Iterator)
.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
Methods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionLong
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
makeFillContext, maxRow
Methods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Method Details
-
create
public static ColumnRegionLong<DictionaryKeys> create(@NotNull RegionedPageStore.Parameters parameters, int regionIndex, @NotNull @NotNull ColumnRegionObject<?, ?> sourceRegion) -
invalidate
public void invalidate()Description copied from interface:ColumnRegion
Invalidate the region -- any further reads that cannot be completed consistently and correctly will fail.- Specified by:
invalidate
in interfaceColumnRegion<DictionaryKeys>
-
mask
public long mask()Description copied from interface:PagingChunkSource
This mask is applied toRowSequences
which are passed intoDefaultChunkSource.getChunk(io.deephaven.engine.table.ChunkSource.GetContext, io.deephaven.engine.rowset.RowSequence)
,ChunkSource.fillChunk(io.deephaven.engine.table.ChunkSource.FillContext, io.deephaven.chunk.WritableChunk<? super ATTR>, io.deephaven.engine.rowset.RowSequence)
, andPagingChunkSource.fillChunkAppend(FillContext, WritableChunk, RowSequence.Iterator)
. This allowsPagingChunkSources
to be cached and reused even if they are properly relocated in key space.- Specified by:
mask
in interfacePagingChunkSource<DictionaryKeys>
- Returns:
- The mask for this
PagingChunkSource
, which must be a bitmask representing some number of lower order bits of a long.
-
getLong
public long getLong(long elementIndex) Description copied from interface:ColumnRegionLong
Get a single long from this region.- Specified by:
getLong
in interfaceColumnRegionLong<DictionaryKeys>
- Parameters:
elementIndex
- Element row key in the table's address space- Returns:
- The long value at the specified element row key
-
getLong
Description copied from interface:ColumnRegionLong
Get a single long from this region.- Specified by:
getLong
in interfaceColumnRegionLong<DictionaryKeys>
- Parameters:
context
- APagingContextHolder
to enable resource caching where suitable, with current region index pointing to this regionelementIndex
- Element row key in the table's address space- Returns:
- The long value at the specified element row key
-
fillChunkAppend
public void fillChunkAppend(@NotNull @NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super DictionaryKeys> destination, @NotNull @NotNull RowSequence rowSequence) Description copied from interface:Page.WithDefaults
Appends the values referenced byorderKeys
ontodestination
.orderKeys
are assumed to be entirely contained on thisPage
.- Specified by:
fillChunkAppend
in interfacePage.WithDefaults<DictionaryKeys>
-