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>,PushdownFilterMatcher,ColumnRegion<ATTR>,ColumnRegionObject<DATA_TYPE,,ATTR> RegionedPushdownFilterMatcher,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.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
ConstructorsConstructorDescriptionParquetColumnRegionObject(@NotNull ColumnChunkPageStore<ATTR> columnChunkPageStore, @NotNull Supplier<ColumnRegionLong<DictionaryKeys>> dictionaryKeysRegionSupplier, @NotNull Supplier<ColumnRegionObject<DATA_TYPE, ATTR>> dictionaryValuesRegionSupplier, @NotNull ColumnLocation columnLocation) -
Method Summary
Modifier and TypeMethodDescriptionlongestimatePushdownAction(RegionedPushdownAction action, WhereFilter filter, RowSet selection, boolean usePrev, PushdownFilterContext filterContext, RegionedPushdownAction.EstimateContext estimateContext) Estimate the cost of the given pushdownaction.getChunkPageContaining(long elementIndex) getObject(long rowKey) Get a single object from this region.performPushdownAction(RegionedPushdownAction action, WhereFilter filter, RowSet selection, PushdownResult input, boolean usePrev, PushdownFilterContext filterContext, RegionedPushdownAction.ActionContext actionContext) Perform the pushdown action for the given filter and filter context.Get the list of pushdown actions supported by this matcher.supportsDictionaryFormat(RowSet.SearchIterator keysToVisit) Check if this region can expose an alternate form as paired regions oflongkeys andDATA_TYPEvalues covering all of its row keys inkeysToVisit.Methods inherited from class io.deephaven.parquet.table.region.ParquetColumnRegionBase
fillChunk, fillChunkAppend, getChunk, getChunk, getChunkPageContaining, getColumnLocation, releaseCachedResourcesMethods 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.ChunkSource
fillChunkMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegion
estimatePushdownFilterCost, firstRowOffset, getColumnLocation, invalidate, pushdownFilterMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionObject
gatherDictionaryValuesRowSet, getChunkType, getObjectMethods 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.PagingChunkSource
fillChunkAppend, makeFillContext, mask, maxRowMethods inherited from interface io.deephaven.engine.table.impl.PushdownFilterMatcher
makePushdownFilterContextMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.RegionedPushdownFilterMatcher
makeActionContext, makeEstimateContextMethods 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, @NotNull @NotNull ColumnLocation columnLocation)
-
-
Method Details
-
getObject
Description copied from interface:ColumnRegionObjectGet a single object from this region.- Specified by:
getObjectin 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:ColumnRegionObjectCheck if this region can expose an alternate form as paired regions oflongkeys andDATA_TYPEvalues 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:
supportsDictionaryFormatin 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 iftrueis returned. No guarantee is made iffalseis returned.- Returns:
- A
RegionVisitResultspecifyingFAILEDif this region cannot supply a dictionary,CONTINUEif it can andkeysToVisitis not exhausted, andCOMPLETEif it can andkeysToVisitis exhausted
-
getDictionaryKeysRegion
- Specified by:
getDictionaryKeysRegionin interfaceColumnRegionObject<DATA_TYPE,ATTR extends Any> - Returns:
- A dictionary keys region as specified by
ColumnRegionObject.supportsDictionaryFormat(RowSet.SearchIterator)
-
getDictionaryValuesRegion
- Specified by:
getDictionaryValuesRegionin interfaceColumnRegionObject<DATA_TYPE,ATTR extends Any> - Returns:
- A dictionary values region as specified by
ColumnRegionObject.supportsDictionaryFormat(RowSet.SearchIterator)
-
supportedActions
Description copied from interface:RegionedPushdownFilterMatcherGet the list of pushdown actions supported by this matcher. Defaults to an empty list.- Specified by:
supportedActionsin interfaceRegionedPushdownFilterMatcher
-
estimatePushdownAction
public long estimatePushdownAction(RegionedPushdownAction action, WhereFilter filter, RowSet selection, boolean usePrev, PushdownFilterContext filterContext, RegionedPushdownAction.EstimateContext estimateContext) Description copied from interface:RegionedPushdownFilterMatcherEstimate the cost of the given pushdownaction. ReturnsLong.MAX_VALUEif the action is not supported by this matcher.- Specified by:
estimatePushdownActionin interfaceRegionedPushdownFilterMatcher
-
performPushdownAction
public PushdownResult performPushdownAction(RegionedPushdownAction action, WhereFilter filter, RowSet selection, PushdownResult input, boolean usePrev, PushdownFilterContext filterContext, RegionedPushdownAction.ActionContext actionContext) Description copied from interface:RegionedPushdownFilterMatcherPerform the pushdown action for the given filter and filter context.- Specified by:
performPushdownActionin interfaceRegionedPushdownFilterMatcher
-
getChunkPageContaining
-