Class GenericColumnRegionBase<ATTR extends Any>
java.lang.Object
io.deephaven.engine.table.impl.sources.regioned.GenericColumnRegionBase<ATTR>
- All Implemented Interfaces:
Page<ATTR>
,PagingChunkSource<ATTR>
,ChunkSource<ATTR>
,FillContextMaker
,GetContextMaker
,DefaultChunkSource<ATTR>
,ColumnRegion<ATTR>
,Releasable
- Direct Known Subclasses:
AppendOnlyFixedSizePageRegionByte
,AppendOnlyFixedSizePageRegionChar
,AppendOnlyFixedSizePageRegionDouble
,AppendOnlyFixedSizePageRegionFloat
,AppendOnlyFixedSizePageRegionInt
,AppendOnlyFixedSizePageRegionLong
,AppendOnlyFixedSizePageRegionObject
,AppendOnlyFixedSizePageRegionShort
,ColumnRegion.Null
,ColumnRegionByte.Constant
,ColumnRegionChar.Constant
,ColumnRegionChunkDictionary
,ColumnRegionDouble.Constant
,ColumnRegionFloat.Constant
,ColumnRegionInt.Constant
,ColumnRegionLong.Constant
,ColumnRegionObject.Constant
,ColumnRegionShort.Constant
,DeferredColumnRegionBase
,ParquetColumnRegionBase
public abstract class GenericColumnRegionBase<ATTR extends Any>
extends Object
implements ColumnRegion<ATTR>
Base
ColumnRegion
implementation.-
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.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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invalidate the region -- any further reads that cannot be completed consistently and correctly will fail.final long
mask()
This mask is applied toRowSequences
which are passed intoDefaultChunkSource.getChunk(io.deephaven.engine.table.ChunkSource.GetContext, io.deephaven.engine.rowset.RowSequence)
,ChunkSource.fillChunk(io.deephaven.engine.table.ChunkSource.FillContext, io.deephaven.chunk.WritableChunk<? super ATTR>, io.deephaven.engine.rowset.RowSequence)
, andPagingChunkSource.fillChunkAppend(FillContext, WritableChunk, RowSequence.Iterator)
.protected final void
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
fillChunk, getChunkType
Methods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegion
firstRowOffset
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, 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.PagingChunkSource
fillChunkAppend, makeFillContext, maxRow
Methods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Constructor Details
-
GenericColumnRegionBase
public GenericColumnRegionBase(long pageMask)
-
-
Method Details
-
mask
public final long mask()Description copied from interface:PagingChunkSource
This mask is applied toRowSequences
which are passed intoDefaultChunkSource.getChunk(io.deephaven.engine.table.ChunkSource.GetContext, io.deephaven.engine.rowset.RowSequence)
,ChunkSource.fillChunk(io.deephaven.engine.table.ChunkSource.FillContext, io.deephaven.chunk.WritableChunk<? super ATTR>, io.deephaven.engine.rowset.RowSequence)
, andPagingChunkSource.fillChunkAppend(FillContext, WritableChunk, RowSequence.Iterator)
. This allowsPagingChunkSources
to be cached and reused even if they are properly relocated in key space.- Specified by:
mask
in interfacePagingChunkSource<ATTR extends Any>
- Returns:
- The mask for this
PagingChunkSource
, which must be a bitmask representing some number of lower order bits of a long.
-
invalidate
public void invalidate()Description copied from interface:ColumnRegion
Invalidate the region -- any further reads that cannot be completed consistently and correctly will fail.- Specified by:
invalidate
in interfaceColumnRegion<ATTR extends Any>
-
throwIfInvalidated
protected final void throwIfInvalidated()
-