Class ColumnRegionObject.Constant<DATA_TYPE,ATTR extends Any>
java.lang.Object
io.deephaven.engine.table.impl.sources.regioned.GenericColumnRegionBase<ATTR>
io.deephaven.engine.table.impl.sources.regioned.ColumnRegionObject.Constant<DATA_TYPE,ATTR>
- All Implemented Interfaces:
Page<ATTR>,Page.WithDefaultsForRepeatingValues<ATTR>,PagingChunkSource<ATTR>,ChunkSource<ATTR>,FillContextMaker,GetContextMaker,DefaultChunkSource<ATTR>,ColumnRegion<ATTR>,ColumnRegionObject<DATA_TYPE,,ATTR> ColumnRegionObject.SelfDictionaryRegion<DATA_TYPE,,ATTR> Releasable
- Enclosing interface:
- ColumnRegionObject<DATA_TYPE,
ATTR extends Any>
public static final class ColumnRegionObject.Constant<DATA_TYPE,ATTR extends Any>
extends GenericColumnRegionBase<ATTR>
implements ColumnRegionObject.SelfDictionaryRegion<DATA_TYPE,ATTR>, Page.WithDefaultsForRepeatingValues<ATTR>
-
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,ATTR extends Any>, ColumnRegionObject.DictionaryKeysWrapper, ColumnRegionObject.Null<DATA_TYPE, ATTR extends Any>, ColumnRegionObject.SelfDictionaryRegion<DATA_TYPE, ATTR extends Any>, ColumnRegionObject.StaticPageStore<DATA_TYPE, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfillChunkAppend(@NotNull ChunkSource.FillContext context, @NotNull WritableChunk<? super ATTR> destination, int length) Appends the values repeating valuelengthtimes todestination.booleangatherDictionaryValuesRowSet(RowSet.SearchIterator keysToVisit, RowSequence.Iterator knownKeys, @NotNull RowSetBuilderSequential sequentialBuilder) Optional method that should only be used on regions returned byColumnRegionObject.getDictionaryValuesRegion().getObject(long elementIndex) Get a single object from this region.Methods inherited from class io.deephaven.engine.table.impl.sources.regioned.GenericColumnRegionBase
invalidate, mask, 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
getChunkType, getObjectMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionObject.SelfDictionaryRegion
getDictionaryValuesRegion, supportsDictionaryFormatMethods 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.WithDefaultsForRepeatingValues
fillChunk, fillChunkAppendMethods inherited from interface io.deephaven.engine.page.PagingChunkSource
makeFillContext, mask, maxRowMethods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Constructor Details
-
Constant
-
-
Method Details
-
getObject
Description copied from interface:ColumnRegionObjectGet a single object from this region.- Specified by:
getObjectin interfaceColumnRegionObject<DATA_TYPE,ATTR extends Any> - Parameters:
elementIndex- Element row key in the table's address space- Returns:
- The object value at the specified element row key
-
fillChunkAppend
public void fillChunkAppend(@NotNull @NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super ATTR> destination, int length) Description copied from interface:Page.WithDefaultsForRepeatingValuesAppends the values repeating valuelengthtimes todestination.- Specified by:
fillChunkAppendin interfacePage.WithDefaultsForRepeatingValues<DATA_TYPE>
-
gatherDictionaryValuesRowSet
public boolean gatherDictionaryValuesRowSet(@NotNull RowSet.SearchIterator keysToVisit, @NotNull RowSequence.Iterator knownKeys, @NotNull @NotNull RowSetBuilderSequential sequentialBuilder) Description copied from interface:ColumnRegionObjectOptional method that should only be used on regions returned byColumnRegionObject.getDictionaryValuesRegion(). Gathers row keys representing the dictionary values for this region, excluding those already known to the caller. This is used to supportsymbol tableaccess.- Specified by:
gatherDictionaryValuesRowSetin interfaceColumnRegionObject<DATA_TYPE,ATTR extends Any> - Parameters:
keysToVisit- A search iterator over the enclosing table address space (which must have the same regions at the same masks), positioned at a row key in this region. Used to identify regions to visit. Should be advanced to after this region as a side-effect.knownKeys- An iterator over the previously-known row keys, positioned at the first known key in this region, or after the region's maximum key if no keys are known. Should be advanced to after this region as a side effect.sequentialBuilder- Output builder; implementations should append ranges for row keys not found inknownKeys- Returns:
- Whether
keysToVisithas been exhausted
-
getDictionaryKeysRegion
- Specified by:
getDictionaryKeysRegionin interfaceColumnRegionObject<DATA_TYPE,ATTR extends Any> - Returns:
- A dictionary keys region as specified by
ColumnRegionObject.supportsDictionaryFormat(RowSet.SearchIterator)
-