Interface ColumnRegion<ATTR extends Attributes.Any>
- Type Parameters:
ATTR-
- All Superinterfaces:
ChunkSource<ATTR>,FillContextMaker,GetContextMaker,Page<ATTR>,PagingChunkSource<ATTR>,Releasable
- All Known Subinterfaces:
BufferedColumnRegion<ATTR>,ColumnRegionByte<ATTR>,ColumnRegionChar<ATTR>,ColumnRegionDouble<ATTR>,ColumnRegionFloat<ATTR>,ColumnRegionInt<ATTR>,ColumnRegionLong<ATTR>,ColumnRegionObject<T,ATTR>,ColumnRegionReferencing<ATTR,REFERENCED_COLUMN_REGION>,ColumnRegionShort<ATTR>
- All Known Implementing Classes:
BufferedColumnRegionBase,BufferedColumnRegionByte,BufferedColumnRegionChar,BufferedColumnRegionDouble,BufferedColumnRegionFloat,BufferedColumnRegionInt,BufferedColumnRegionLong,BufferedColumnRegionShort,ColumnRegion.Null,ColumnRegionByte.Null,ColumnRegionByte.StaticPageStore,ColumnRegionChar.Null,ColumnRegionChar.StaticPageStore,ColumnRegionChunkDictionary,ColumnRegionDouble.Null,ColumnRegionDouble.StaticPageStore,ColumnRegionFloat.Null,ColumnRegionFloat.StaticPageStore,ColumnRegionInt.Null,ColumnRegionInt.StaticPageStore,ColumnRegionLong.Null,ColumnRegionLong.StaticPageStore,ColumnRegionObject.DictionaryKeysWrapper,ColumnRegionObject.IntDictionaryKeysWrapper,ColumnRegionObject.Null,ColumnRegionObject.StaticPageStore,ColumnRegionObjectCached,ColumnRegionObjectCodecFixed,ColumnRegionObjectCodecVariable,ColumnRegionObjectWithDictionary,ColumnRegionReferencing.Null,ColumnRegionReferencingImpl,ColumnRegionShort.Null,ColumnRegionShort.StaticPageStore,ColumnRegionStringSet,DeferredColumnRegionBase,DeferredColumnRegionChar,DeferredColumnRegionDouble,DeferredColumnRegionFloat,DeferredColumnRegionInt,DeferredColumnRegionLong,DeferredColumnRegionObject,DeferredColumnRegionReferencing,DeferredColumnRegionShort,ParquetColumnRegionBase,ParquetColumnRegionByte,ParquetColumnRegionChar,ParquetColumnRegionDouble,ParquetColumnRegionFloat,ParquetColumnRegionInt,ParquetColumnRegionLong,ParquetColumnRegionObject,ParquetColumnRegionShort,ParquetColumnRegionSymbolTable
public interface ColumnRegion<ATTR extends Attributes.Any> extends Page<ATTR>, Releasable
Implementations of this interface represent a block of data within a single column of a larger table.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classColumnRegion.Null<ATTR extends Attributes.Any>The null region.Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
ChunkSource.FillContext, ChunkSource.GetContext, ChunkSource.WithPrev<ATTR extends Attributes.Any>Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.sources.chunk.page.Page
Page.WithDefaults<ATTR extends Attributes.Any>, Page.WithDefaultsForRepeatingValues<ATTR extends Attributes.Any> -
Field Summary
Fields Modifier and Type Field Description static longREGION_MASKFields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY -
Method Summary
Modifier and Type Method Description default longfirstRowOffset()default longmask()This mask is applied toOrderedKeyswhich are passed intoChunkSource.getChunk(ChunkSource.GetContext, OrderedKeys)andChunkSource.fillChunk(ChunkSource.FillContext, WritableChunk, OrderedKeys).Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
fillChunk, getChunk, getChunk, getChunkType, getNativeTypeMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.FillContextMaker
makeFillContext, makeFillContextMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.GetContextMaker
makeGetContext, makeGetContextMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.page.Page
advanceToNextPage, advanceToNextPage, advanceToNextPageAndGetPositionDistance, firstRow, getRowOffset, lastRow, lengthMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.page.PagingChunkSource
fillChunkAppend, maxRow
-
Field Details
-
REGION_MASK
static final long REGION_MASK- See Also:
- Constant Field Values
-
-
Method Details
-
mask
Description copied from interface:PagingChunkSourceThis mask is applied toOrderedKeyswhich are passed intoChunkSource.getChunk(ChunkSource.GetContext, OrderedKeys)andChunkSource.fillChunk(ChunkSource.FillContext, WritableChunk, OrderedKeys). This allows thePagingChunkSources to be cached, and reused even if they are properly relocated in key space.- Specified by:
maskin interfacePagingChunkSource<ATTR extends Attributes.Any>- Returns:
- the mask for this page, which must be a bitmask representing the some number of lower order bits of a long.
-
firstRowOffset
- Specified by:
firstRowOffsetin interfacePage<ATTR extends Attributes.Any>- Returns:
- the first row of this page, after applying the
PagingChunkSource.mask(), which refers to the first row of this page.
-