Package io.deephaven.generic.region
Class AppendOnlyFixedSizePageRegionObject<T,ATTR extends Any>
java.lang.Object
io.deephaven.engine.table.impl.sources.regioned.GenericColumnRegionBase<ATTR>
io.deephaven.generic.region.AppendOnlyFixedSizePageRegionObject<T,ATTR>
- All Implemented Interfaces:
Page<ATTR>,PageStore<ATTR,,ATTR, ChunkHolderPageObject<T, ATTR>> PagingChunkSource<ATTR>,ChunkSource<ATTR>,FillContextMaker,GetContextMaker,DefaultChunkSource<ATTR>,DefaultChunkSource.SupportsContiguousGet<ATTR>,ColumnRegion<ATTR>,ColumnRegionObject<T,,ATTR> Releasable
public class AppendOnlyFixedSizePageRegionObject<T,ATTR extends Any>
extends GenericColumnRegionBase<ATTR>
implements PageStore<ATTR,ATTR,ChunkHolderPageObject<T,ATTR>>, ColumnRegionObject<T,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.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
ConstructorsConstructorDescriptionAppendOnlyFixedSizePageRegionObject(long pageMask, int pageSize, @NotNull AppendOnlyRegionAccessor<ATTR> accessor) -
Method Summary
Modifier and TypeMethodDescriptiongetObject(long rowKey) Get a single object from this region.final @NotNull ChunkHolderPageObject<T,ATTR> getPageContaining(@Nullable ChunkSource.FillContext fillContext, long rowKey) Methods 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.impl.sources.regioned.ColumnRegion
firstRowOffset, invalidateMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionObject
gatherDictionaryValuesRowSet, getChunkType, getDictionaryKeysRegion, getDictionaryValuesRegion, getObject, supportsDictionaryFormatMethods 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, mask, maxRowMethods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Constructor Details
-
AppendOnlyFixedSizePageRegionObject
public AppendOnlyFixedSizePageRegionObject(long pageMask, int pageSize, @NotNull @NotNull AppendOnlyRegionAccessor<ATTR> accessor)
-
-
Method Details
-
getObject
Description copied from interface:ColumnRegionObjectGet a single object from this region.- Specified by:
getObjectin interfaceColumnRegionObject<T,ATTR extends Any> - Parameters:
rowKey- Element row key in the table's address space- Returns:
- The object value at the specified element row key
-
getPageContaining
@NotNull public final @NotNull ChunkHolderPageObject<T,ATTR> getPageContaining(@Nullable @Nullable ChunkSource.FillContext fillContext, long rowKey) - Specified by:
getPageContainingin interfacePageStore<ATTR extends Any,ATTR extends Any, ChunkHolderPageObject<T, ATTR extends Any>> - Parameters:
fillContext- The fill context to use; may benullif 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().
-