Class ColumnRegionObjectCached<T,ATTR extends Values,OFFSET_LOOKUP_CACHE extends OffsetLookupCache<T,ChunkSource.FillContext>>
java.lang.Object
io.deephaven.enterprise.sources.regioned.impl.InvalidatableRegion<ATTR>
io.deephaven.enterprise.sources.regioned.impl.ColumnRegionObjectCached<T,ATTR,OFFSET_LOOKUP_CACHE>
- All Implemented Interfaces:
Page<ATTR>,Page.WithDefaults<ATTR>,PagingChunkSource<ATTR>,ChunkSource<ATTR>,FillContextMaker,GetContextMaker,DefaultChunkSource<ATTR>,PushdownFilterMatcher,ColumnRegion<ATTR>,ColumnRegionObject<T,,ATTR> RegionedPushdownFilterMatcher,Releasable,ColumnRegionObjectWithLength<T,,ATTR> OffsetLookup<T,ChunkSource.FillContext>
public final class ColumnRegionObjectCached<T,ATTR extends Values,OFFSET_LOOKUP_CACHE extends OffsetLookupCache<T,ChunkSource.FillContext>>
extends InvalidatableRegion<ATTR>
implements ColumnRegionObjectWithLength<T,ATTR>, OffsetLookup<T,ChunkSource.FillContext>, Page.WithDefaults<ATTR>
Column region interface for regions that support fetching objects.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceColumnRegionObjectCached.CacheFactory<T,OFFSET_LOOKUP_CACHE extends OffsetLookupCache<T, ChunkSource.FillContext>> 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 extends Object,ATTR extends Any>, ColumnRegionObject.DictionaryKeysWrapper, ColumnRegionObject.Null<DATA_TYPE extends Object, ATTR extends Any>, ColumnRegionObject.SelfDictionaryRegion<DATA_TYPE extends Object, ATTR extends Any>, ColumnRegionObject.StaticPageStore<DATA_TYPE extends Object, 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
ConstructorsConstructorDescriptionColumnRegionObjectCached(@NotNull ColumnRegionObjectCached.CacheFactory<T, OFFSET_LOOKUP_CACHE> cacheFactory, @Nullable FillContextMaker fillContextMaker, @NotNull ColumnRegionObject<T, ATTR> innerRegion) -
Method Summary
Modifier and TypeMethodDescriptionlongestimatePushdownAction(RegionedPushdownAction action, WhereFilter filter, RowSet selection, boolean usePrev, PushdownFilterContext filterContext, RegionedPushdownAction.EstimateContext estimateContext) voidfillChunkAppend(@NotNull ChunkSource.FillContext context, @NotNull WritableChunk<? super ATTR> destination, @NotNull RowSequence orderedKeys) booleangatherDictionaryValuesRowSet(RowSet.SearchIterator keysToVisit, RowSequence.Iterator knownKeys, @NotNull RowSetBuilderSequential sequentialBuilder) getCache()getObject(long elementIndex) getObject(@NotNull ChunkSource.FillContext context, long elementIndex) Get the number of objects that can be read from this region, if it is known.lookup(int offset, ChunkSource.FillContext fillContext) longmask()performPushdownAction(RegionedPushdownAction action, WhereFilter filter, RowSet selection, PushdownResult input, boolean usePrev, PushdownFilterContext filterContext, RegionedPushdownAction.ActionContext actionContext) voidsupportsDictionaryFormat(RowSet.SearchIterator keysToVisit) Methods inherited from class io.deephaven.enterprise.sources.regioned.impl.InvalidatableRegion
invalidate, 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
estimatePushdownFilterCost, firstRowOffset, invalidate, pushdownFilterMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionObject
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.impl.PushdownFilterMatcher
makePushdownFilterContextMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.RegionedPushdownFilterMatcher
makeActionContext, makeEstimateContext
-
Constructor Details
-
ColumnRegionObjectCached
public ColumnRegionObjectCached(@NotNull @NotNull ColumnRegionObjectCached.CacheFactory<T, OFFSET_LOOKUP_CACHE> cacheFactory, @Nullable @Nullable FillContextMaker fillContextMaker, @NotNull @NotNull ColumnRegionObject<T, ATTR> innerRegion)
-
-
Method Details
-
mask
public long mask()- Specified by:
maskin interfacePagingChunkSource<T>
-
getCache
-
getObject
- Specified by:
getObjectin interfaceColumnRegionObject<T,ATTR extends Values>
-
getObject
- Specified by:
getObjectin interfaceColumnRegionObject<T,ATTR extends Values>
-
fillChunkAppend
public void fillChunkAppend(@NotNull @NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super ATTR> destination, @NotNull @NotNull RowSequence orderedKeys) - Specified by:
fillChunkAppendin interfacePage.WithDefaults<T>
-
releaseCachedResources
@OverridingMethodsMustInvokeSuper public void releaseCachedResources()- Specified by:
releaseCachedResourcesin interfaceReleasable
-
lookup
- Specified by:
lookupin interfaceOffsetLookup<T,ATTR extends Values>
-
getDictionaryValuesRegion
- Specified by:
getDictionaryValuesRegionin interfaceColumnRegionObject<T,ATTR extends Values>
-
getDictionaryKeysRegion
- Specified by:
getDictionaryKeysRegionin interfaceColumnRegionObject<T,ATTR extends Values>
-
supportsDictionaryFormat
- Specified by:
supportsDictionaryFormatin interfaceColumnRegionObject<T,ATTR extends Values>
-
gatherDictionaryValuesRowSet
public boolean gatherDictionaryValuesRowSet(@NotNull RowSet.SearchIterator keysToVisit, @NotNull RowSequence.Iterator knownKeys, @NotNull @NotNull RowSetBuilderSequential sequentialBuilder) - Specified by:
gatherDictionaryValuesRowSetin interfaceColumnRegionObject<T,ATTR extends Values>
-
getColumnLocation
- Specified by:
getColumnLocationin interfaceColumnRegion<T>
-
lengthItems
Description copied from interface:ColumnRegionObjectWithLengthGet the number of objects that can be read from this region, if it is known. Otherwise, return an empty optional.The returned length is safe to use as a read extent: every object it covers is guaranteed to be dereferenceable. Implementations backed by more than one file must not report objects whose bytes are not yet visible, even if some other file claims they exist -- see DH-23322.
- Specified by:
lengthItemsin interfaceColumnRegionObjectWithLength<T,ATTR extends Values>
-
supportedActions
- Specified by:
supportedActionsin interfaceRegionedPushdownFilterMatcher
-
estimatePushdownAction
public long estimatePushdownAction(RegionedPushdownAction action, WhereFilter filter, RowSet selection, boolean usePrev, PushdownFilterContext filterContext, RegionedPushdownAction.EstimateContext estimateContext) - Specified by:
estimatePushdownActionin interfaceRegionedPushdownFilterMatcher
-
performPushdownAction
public PushdownResult performPushdownAction(RegionedPushdownAction action, WhereFilter filter, RowSet selection, PushdownResult input, boolean usePrev, PushdownFilterContext filterContext, RegionedPushdownAction.ActionContext actionContext) - Specified by:
performPushdownActionin interfaceRegionedPushdownFilterMatcher
-