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
Modifier and TypeInterfaceDescriptionstatic final class
ColumnRegionByte.Constant<ATTR extends Any>
static final class
ColumnRegionByte.Null<ATTR extends Any>
static final class
ColumnRegionByte.StaticPageStore<ATTR extends Any>
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.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) byte
getByte
(long elementIndex) Get a single byte from this region.default byte
getByte
(@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 ChunkType
Get the most suitableChunkType
for use with this ChunkSource.Methods inherited from interface io.deephaven.engine.table.ChunkSource
fillChunk
Methods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegion
firstRowOffset, invalidate
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, mask, maxRow
Methods 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
- APagingContextHolder
to 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 intodestination
to begin storing atlength
- Number of bytes to get- Returns:
destination
, to enable method chaining
-
getChunkType
Description copied from interface:ChunkSource
Get the most suitableChunkType
for use with this ChunkSource.- Specified by:
getChunkType
in interfaceChunkSource<ATTR extends Any>
- Returns:
- The ChunkType
-
createNull
-