Class RegionedPageStore.Static<ATTR extends Any,INNER_ATTR extends ATTR,REGION_TYPE extends Page<INNER_ATTR>>
java.lang.Object
io.deephaven.engine.table.impl.sources.regioned.RegionedPageStore.Static<ATTR,INNER_ATTR,REGION_TYPE>
- All Implemented Interfaces:
PageStore<ATTR,
,INNER_ATTR, REGION_TYPE> PagingChunkSource<ATTR>
,ChunkSource<ATTR>
,FillContextMaker
,GetContextMaker
,DefaultChunkSource<ATTR>
,DefaultChunkSource.SupportsContiguousGet<ATTR>
,RegionedPageStore<ATTR,
INNER_ATTR, REGION_TYPE>
- Direct Known Subclasses:
ColumnRegionByte.StaticPageStore
,ColumnRegionChar.StaticPageStore
,ColumnRegionDouble.StaticPageStore
,ColumnRegionFloat.StaticPageStore
,ColumnRegionInt.StaticPageStore
,ColumnRegionLong.StaticPageStore
,ColumnRegionObject.StaticPageStore
,ColumnRegionShort.StaticPageStore
- Enclosing interface:
- RegionedPageStore<ATTR extends Any,
INNER_ATTR extends ATTR, REGION_TYPE extends Page<INNER_ATTR>>
public abstract static class RegionedPageStore.Static<ATTR extends Any,INNER_ATTR extends ATTR,REGION_TYPE extends Page<INNER_ATTR>>
extends Object
implements RegionedPageStore<ATTR,INNER_ATTR,REGION_TYPE>
A regioned page store for use when the full set of regions and their sizes are known.
-
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.DefaultChunkSource
DefaultChunkSource.SupportsContiguousGet<ATTR extends Any>, DefaultChunkSource.WithPrev<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
ConstructorDescriptionStatic
(@NotNull RegionedPageStore.Parameters parameters, @NotNull REGION_TYPE[] regions) -
Method Summary
Modifier and TypeMethodDescriptionfinal REGION_TYPE
getRegion
(int regionIndex) Map from a region rowSet to its corresponding region.final int
Get the number of regions.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
getChunkType
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
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.PageStore
doFillChunkAppend, fillChunk, fillChunkAppend, getChunk, getChunk
Methods inherited from interface io.deephaven.engine.page.PagingChunkSource
makeFillContext, maxRow
Methods inherited from interface io.deephaven.engine.table.impl.sources.regioned.RegionedPageStore
getPageContaining, getRegionIndex, lookupRegion, mask, regionMask, regionMaskNumBits
-
Constructor Details
-
Static
public Static(@NotNull @NotNull RegionedPageStore.Parameters parameters, @NotNull @NotNull REGION_TYPE[] regions) - Parameters:
parameters
- Mask and shift parametersregions
- Array of all regions in this page store. Array becomes property of the page store.
-
-
Method Details
-
parameters
- Specified by:
parameters
in interfaceRegionedPageStore<ATTR extends Any,
INNER_ATTR extends ATTR, REGION_TYPE extends Page<INNER_ATTR>> - Returns:
- The parameters object that describes this regioned page store
-
getRegionCount
public final int getRegionCount()Description copied from interface:RegionedPageStore
Get the number of regions.- Specified by:
getRegionCount
in interfaceRegionedPageStore<ATTR extends Any,
INNER_ATTR extends ATTR, REGION_TYPE extends Page<INNER_ATTR>> - Returns:
- The number of regions that have been added
-
getRegion
Description copied from interface:RegionedPageStore
Map from a region rowSet to its corresponding region.- Specified by:
getRegion
in interfaceRegionedPageStore<ATTR extends Any,
INNER_ATTR extends ATTR, REGION_TYPE extends Page<INNER_ATTR>> - Parameters:
regionIndex
- The region index- Returns:
- The region for the supplied region index
-