Class ColumnRegionByte.StaticPageStore<ATTR extends Any>
java.lang.Object
io.deephaven.engine.table.impl.sources.regioned.RegionedPageStore.Static<ATTR,ATTR,ColumnRegionByte<ATTR>>
io.deephaven.engine.table.impl.sources.regioned.ColumnRegionByte.StaticPageStore<ATTR>
- All Implemented Interfaces:
Page<ATTR>,PageStore<ATTR,,ATTR, ColumnRegionByte<ATTR>> PagingChunkSource<ATTR>,ChunkSource<ATTR>,FillContextMaker,GetContextMaker,DefaultChunkSource<ATTR>,DefaultChunkSource.SupportsContiguousGet<ATTR>,PushdownFilterMatcher,ColumnRegion<ATTR>,ColumnRegionByte<ATTR>,RegionedPageStore<ATTR,,ATTR, ColumnRegionByte<ATTR>> RegionedPushdownFilterMatcher,Releasable
- Enclosing interface:
ColumnRegionByte<ATTR extends Any>
public static final class ColumnRegionByte.StaticPageStore<ATTR extends Any>
extends RegionedPageStore.Static<ATTR,ATTR,ColumnRegionByte<ATTR>>
implements ColumnRegionByte<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.ColumnRegionByte
ColumnRegionByte.Constant<ATTR extends Any>, ColumnRegionByte.Null<ATTR extends Any>, ColumnRegionByte.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>Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.sources.regioned.RegionedPageStore
RegionedPageStore.Parameters, RegionedPageStore.Static<ATTR extends Any,INNER_ATTR extends ATTR, REGION_TYPE extends Page<INNER_ATTR>> -
Field Summary
Fields inherited from interface io.deephaven.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionStaticPageStore(@NotNull RegionedPageStore.Parameters parameters, @NotNull ColumnRegionByte<ATTR>[] regions, @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.bytegetByte(long elementIndex) Get a single byte from this region.bytegetByte(@NotNull ChunkSource.FillContext context, long elementIndex) Get a single byte from this region.byte[]getBytes(long firstElementIndex, byte[] destination, int destinationOffset, int length) Get a range of bytes from this region.voidInvalidate the region -- any further reads that cannot be completed consistently and correctly will fail.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.Methods inherited from class io.deephaven.engine.table.impl.sources.regioned.RegionedPageStore.Static
getRegion, getRegionCount, parametersMethods 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, pushdownFilterMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionByte
getChunkTypeMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
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.PageStore
doFillChunkAppend, fillChunk, fillChunkAppend, getChunk, getChunkMethods 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.RegionedPageStore
getPageContaining, getRegionIndex, lookupRegion, mask, regionMask, regionMaskNumBitsMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.RegionedPushdownFilterMatcher
makeActionContext, makeEstimateContextMethods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Constructor Details
-
StaticPageStore
public StaticPageStore(@NotNull @NotNull RegionedPageStore.Parameters parameters, @NotNull @NotNull ColumnRegionByte<ATTR>[] regions, @NotNull @NotNull ColumnLocation columnLocation)
-
-
Method Details
-
getColumnLocation
- Specified by:
getColumnLocationin interfaceColumnRegion<ATTR extends Any>
-
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<ATTR extends Any>
-
getByte
public byte getByte(long elementIndex) Description copied from interface:ColumnRegionByteGet a single byte from this region.- Specified by:
getBytein interfaceColumnRegionByte<ATTR extends Any>- Parameters:
elementIndex- Element row key in the table's address space- Returns:
- The byte value at the specified element row key
-
getByte
Description copied from interface:ColumnRegionByteGet a single byte from this region.- Specified by:
getBytein interfaceColumnRegionByte<ATTR extends Any>- 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 byte value at the specified element row ket
-
getBytes
public byte[] getBytes(long firstElementIndex, byte[] destination, int destinationOffset, int length) Description copied from interface:ColumnRegionByteGet a range of bytes from this region. Implementations are not required to verify that the range specified is meaningful.- Specified by:
getBytesin interfaceColumnRegionByte<ATTR extends Any>- Parameters:
firstElementIndex- First element row keyt in the table's address spacedestination- Array to store resultsdestinationOffset- Offset intodestinationto begin storing atlength- Number of bytes to get- Returns:
destination, to enable method chaining
-
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
-