Class ParquetColumnRegionObject<DATA_TYPE,ATTR extends Any>
java.lang.Object
io.deephaven.engine.table.impl.sources.regioned.GenericColumnRegionBase<ATTR>
io.deephaven.parquet.table.region.ParquetColumnRegionBase<ATTR>
io.deephaven.parquet.table.region.ParquetColumnRegionObject<DATA_TYPE,ATTR>
- All Implemented Interfaces:
Page<ATTR>
,PagingChunkSource<ATTR>
,ChunkSource<ATTR>
,FillContextMaker
,GetContextMaker
,DefaultChunkSource<ATTR>
,ColumnRegion<ATTR>
,ColumnRegionObject<DATA_TYPE,
,ATTR> Releasable
public final class ParquetColumnRegionObject<DATA_TYPE,ATTR extends Any>
extends ParquetColumnRegionBase<ATTR>
implements ColumnRegionObject<DATA_TYPE,ATTR>
ColumnRegionObject
implementation for regions that support fetching objects from column chunk page stores
.-
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,
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
ConstructorDescriptionParquetColumnRegionObject
(@NotNull ColumnChunkPageStore<ATTR> columnChunkPageStore, @NotNull Supplier<ColumnRegionLong<DictionaryKeys>> dictionaryKeysRegionSupplier, @NotNull Supplier<ColumnRegionObject<DATA_TYPE, ATTR>> dictionaryValuesRegionSupplier) -
Method Summary
Modifier and TypeMethodDescriptiongetChunkPageContaining
(long elementIndex) getObject
(long rowKey) Get a single object from this region.supportsDictionaryFormat
(RowSet.SearchIterator keysToVisit) Check if this region can expose an alternate form as paired regions oflong
keys andDATA_TYPE
values covering all of its row keys inkeysToVisit
.Methods inherited from class io.deephaven.parquet.table.region.ParquetColumnRegionBase
fillChunk, fillChunkAppend, getChunk, getChunk, getChunkPageContaining, releaseCachedResources
Methods inherited from class io.deephaven.engine.table.impl.sources.regioned.GenericColumnRegionBase
invalidate, mask, 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.ChunkSource
fillChunk
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, getObject
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.PagingChunkSource
fillChunkAppend, makeFillContext, mask, maxRow
Methods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Constructor Details
-
ParquetColumnRegionObject
public ParquetColumnRegionObject(@NotNull @NotNull ColumnChunkPageStore<ATTR> columnChunkPageStore, @NotNull @NotNull Supplier<ColumnRegionLong<DictionaryKeys>> dictionaryKeysRegionSupplier, @NotNull @NotNull Supplier<ColumnRegionObject<DATA_TYPE, ATTR>> dictionaryValuesRegionSupplier)
-
-
Method Details
-
getObject
Description copied from interface:ColumnRegionObject
Get a single object from this region.- Specified by:
getObject
in interfaceColumnRegionObject<DATA_TYPE,
ATTR extends Any> - Parameters:
rowKey
- Element row key in the table's address space- Returns:
- The object value at the specified element row key
-
supportsDictionaryFormat
Description copied from interface:ColumnRegionObject
Check if this region can expose an alternate form as paired regions oflong
keys andDATA_TYPE
values covering all of its row keys inkeysToVisit
.Both alternate regions must use the same or smaller row key space as this one. Indices fetched from the keys region must represent valid element indices in the values region. Values regions must support
ColumnRegionObject.gatherDictionaryValuesRowSet(RowSet.SearchIterator, RowSequence.Iterator, RowSetBuilderSequential)
.Use
ColumnRegionObject.getDictionaryKeysRegion()
to access the region of keys andColumnRegionObject.getDictionaryValuesRegion()
to access the region of values.- Specified by:
supportsDictionaryFormat
in interfaceColumnRegionObject<DATA_TYPE,
ATTR extends Any> - Parameters:
keysToVisit
- Iterator positioned at the first relevant row key belonging to this region. Will be advanced to after this region iftrue
is returned. No guarantee is made iffalse
is returned.- Returns:
- A
RegionVisitResult
specifyingFAILED
if this region cannot supply a dictionary,CONTINUE
if it can andkeysToVisit
is not exhausted, andCOMPLETE
if it can andkeysToVisit
is exhausted
-
getDictionaryKeysRegion
- Specified by:
getDictionaryKeysRegion
in interfaceColumnRegionObject<DATA_TYPE,
ATTR extends Any> - Returns:
- A dictionary keys region as specified by
ColumnRegionObject.supportsDictionaryFormat(RowSet.SearchIterator)
-
getDictionaryValuesRegion
- Specified by:
getDictionaryValuesRegion
in interfaceColumnRegionObject<DATA_TYPE,
ATTR extends Any> - Returns:
- A dictionary values region as specified by
ColumnRegionObject.supportsDictionaryFormat(RowSet.SearchIterator)
-
getChunkPageContaining
-