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.GetContextNested 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) voidfillChunkAppend(@NotNull ChunkSource.FillContext context, @NotNull WritableChunk<? super DictionaryKeys> destination, @NotNull RowSequence rowSequence) Appends the values referenced byorderKeysontodestination.longgetLong(long elementIndex) Get a single long from this region.longgetLong(@NotNull ChunkSource.FillContext context, long elementIndex) Get a single long from this region.voidInvalidate the region -- any further reads that cannot be completed consistently and correctly will fail.longmask()This mask is applied toRowSequenceswhich 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, waitMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegion
firstRowOffsetMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionLong
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
makeFillContext, maxRowMethods 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:ColumnRegionInvalidate the region -- any further reads that cannot be completed consistently and correctly will fail.- Specified by:
invalidatein interfaceColumnRegion<DictionaryKeys>
-
mask
public long mask()Description copied from interface:PagingChunkSourceThis mask is applied toRowSequenceswhich 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 allowsPagingChunkSourcesto be cached and reused even if they are properly relocated in key space.- Specified by:
maskin 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:ColumnRegionLongGet a single long from this region.- Specified by:
getLongin 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:ColumnRegionLongGet a single long from this region.- Specified by:
getLongin interfaceColumnRegionLong<DictionaryKeys>- Parameters:
context- APagingContextHolderto 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.WithDefaultsAppends the values referenced byorderKeysontodestination.orderKeysare assumed to be entirely contained on thisPage.- Specified by:
fillChunkAppendin interfacePage.WithDefaults<DictionaryKeys>
-