Package io.deephaven.generic.region
Class AppendOnlyFixedSizePageRegionShort<ATTR extends Any>
java.lang.Object
io.deephaven.engine.table.impl.sources.regioned.GenericColumnRegionBase<ATTR>
io.deephaven.generic.region.AppendOnlyFixedSizePageRegionShort<ATTR>
- All Implemented Interfaces:
Page<ATTR>
,PageStore<ATTR,
,ATTR, ChunkHolderPageShort<ATTR>> PagingChunkSource<ATTR>
,ChunkSource<ATTR>
,FillContextMaker
,GetContextMaker
,DefaultChunkSource<ATTR>
,DefaultChunkSource.SupportsContiguousGet<ATTR>
,ColumnRegion<ATTR>
,ColumnRegionShort<ATTR>
,Releasable
public class AppendOnlyFixedSizePageRegionShort<ATTR extends Any>
extends GenericColumnRegionBase<ATTR>
implements PageStore<ATTR,ATTR,ChunkHolderPageShort<ATTR>>, ColumnRegionShort<ATTR>
Region implementation that provides access to append-only pages with a fixed maximum size.
-
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.ColumnRegionShort
ColumnRegionShort.Constant<ATTR extends Any>, ColumnRegionShort.Null<ATTR extends Any>, ColumnRegionShort.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>
-
Field Summary
Fields inherited from interface io.deephaven.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY
-
Constructor Summary
ConstructorDescriptionAppendOnlyFixedSizePageRegionShort
(long pageMask, int pageSize, @NotNull AppendOnlyRegionAccessor<ATTR> accessor) -
Method Summary
Modifier and TypeMethodDescriptionfinal @NotNull ChunkHolderPageShort<ATTR>
getPageContaining
(@Nullable ChunkSource.FillContext fillContext, long rowKey) short
getShort
(long rowKey) Get a single short from this region.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.impl.sources.regioned.ColumnRegion
firstRowOffset, invalidate
Methods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionShort
getChunkType, getShort
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.Page
advanceToNextPage, advanceToNextPage, advanceToNextPageAndGetPositionDistance, firstRow, getRowOffset
Methods inherited from interface io.deephaven.engine.page.PageStore
doFillChunkAppend, fillChunk, fillChunkAppend, getChunk, getChunk
Methods inherited from interface io.deephaven.engine.page.PagingChunkSource
makeFillContext, mask, maxRow
Methods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Constructor Details
-
AppendOnlyFixedSizePageRegionShort
public AppendOnlyFixedSizePageRegionShort(long pageMask, int pageSize, @NotNull @NotNull AppendOnlyRegionAccessor<ATTR> accessor)
-
-
Method Details
-
getShort
public short getShort(long rowKey) Description copied from interface:ColumnRegionShort
Get a single short from this region.- Specified by:
getShort
in interfaceColumnRegionShort<ATTR extends Any>
- Parameters:
rowKey
- Element row key in the table's address space- Returns:
- The short value at the specified element row key
-
getPageContaining
@NotNull public final @NotNull ChunkHolderPageShort<ATTR> getPageContaining(@Nullable @Nullable ChunkSource.FillContext fillContext, long rowKey) - Specified by:
getPageContaining
in interfacePageStore<ATTR extends Any,
ATTR extends Any, ChunkHolderPageShort<ATTR extends Any>> - Parameters:
fillContext
- The fill context to use; may benull
if the calling code does not have a fill contextrowKey
- The row key to get the page for- Returns:
- The page containing
rowKey
, after applyingPagingChunkSource.mask()
.
-