Interface ColumnRegionByte<ATTR extends Any>
- All Superinterfaces:
ChunkSource<ATTR>,ColumnRegion<ATTR>,DefaultChunkSource<ATTR>,FillContextMaker,GetContextMaker,Page<ATTR>,PagingChunkSource<ATTR>,Releasable
- All Known Implementing Classes:
AppendOnlyFixedSizePageRegionByte,ColumnRegionByte.Constant,ColumnRegionByte.Null,ColumnRegionByte.StaticPageStore,ParquetColumnRegionByte
Column region interface for regions that support fetching primitive bytes.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classColumnRegionByte.Constant<ATTR extends Any>static final classColumnRegionByte.Null<ATTR extends Any>static final classColumnRegionByte.StaticPageStore<ATTR extends Any>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.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 -
Method Summary
Modifier and TypeMethodDescriptionstatic <ATTR extends Any>
ColumnRegionByte<ATTR>createNull(long pageMask) bytegetByte(long elementIndex) Get a single byte from this region.default bytegetByte(@NotNull ChunkSource.FillContext context, long elementIndex) Get a single byte from this region.byte[]getBytes(long firstElementIndex, @org.jetbrains.annotations.NotNull byte[] destination, int destinationOffset, int length) Get a range of bytes from this region.default ChunkTypeGet the most suitableChunkTypefor use with this ChunkSource.Methods inherited from interface io.deephaven.engine.table.ChunkSource
fillChunkMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegion
firstRowOffset, invalidateMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, 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.PagingChunkSource
fillChunkAppend, makeFillContext, mask, maxRowMethods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Method Details
-
getByte
byte getByte(long elementIndex) Get a single byte from this region.- Parameters:
elementIndex- Element row key in the table's address space- Returns:
- The byte value at the specified element row key
-
getByte
Get a single byte from this region.- Parameters:
context- APagingContextHolderto enable resource caching where suitable, with current region index pointing to this regionelementIndex- Element row key in the table's address space- Returns:
- The byte value at the specified element row ket
-
getBytes
byte[] getBytes(long firstElementIndex, @NotNull @org.jetbrains.annotations.NotNull byte[] destination, int destinationOffset, int length) Get a range of bytes from this region. Implementations are not required to verify that the range specified is meaningful.- Parameters:
firstElementIndex- First element row keyt in the table's address spacedestination- Array to store resultsdestinationOffset- Offset intodestinationto begin storing atlength- Number of bytes to get- Returns:
destination, to enable method chaining
-
getChunkType
Description copied from interface:ChunkSourceGet the most suitableChunkTypefor use with this ChunkSource.- Specified by:
getChunkTypein interfaceChunkSource<ATTR extends Any>- Returns:
- The ChunkType
-
createNull
-