Class ColumnRegionByte.Constant<ATTR extends Any>
java.lang.Object
io.deephaven.engine.table.impl.sources.regioned.GenericColumnRegionBase<ATTR>
io.deephaven.engine.table.impl.sources.regioned.ColumnRegionByte.Constant<ATTR>
- All Implemented Interfaces:
Page<ATTR>
,Page.WithDefaultsForRepeatingValues<ATTR>
,PagingChunkSource<ATTR>
,ChunkSource<ATTR>
,FillContextMaker
,GetContextMaker
,DefaultChunkSource<ATTR>
,ColumnRegion<ATTR>
,ColumnRegionByte<ATTR>
,Releasable
- Enclosing interface:
- ColumnRegionByte<ATTR extends Any>
public static final class ColumnRegionByte.Constant<ATTR extends Any>
extends GenericColumnRegionBase<ATTR>
implements ColumnRegionByte<ATTR>, Page.WithDefaultsForRepeatingValues<ATTR>
-
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.sources.regioned.ColumnRegionByte
ColumnRegionByte.Constant<ATTR extends Any>, ColumnRegionByte.Null<ATTR extends Any>, ColumnRegionByte.StaticPageStore<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
fillChunkAppend
(@NotNull ChunkSource.FillContext context, @NotNull WritableChunk<? super ATTR> destination, int length) Appends the values repeating valuelength
times todestination
.byte
getByte
(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.Methods inherited from class io.deephaven.engine.table.impl.sources.regioned.GenericColumnRegionBase
invalidate, mask, throwIfInvalidated
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.impl.sources.regioned.ColumnRegion
firstRowOffset, invalidate
Methods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionByte
getByte, getChunkType
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.Page.WithDefaultsForRepeatingValues
fillChunk, fillChunkAppend
Methods inherited from interface io.deephaven.engine.page.PagingChunkSource
makeFillContext, mask, maxRow
Methods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Constructor Details
-
Constant
public Constant(long pageMask, byte value)
-
-
Method Details
-
getByte
public byte getByte(long elementIndex) Description copied from interface:ColumnRegionByte
Get a single byte from this region.- Specified by:
getByte
in interfaceColumnRegionByte<ATTR extends Any>
- Parameters:
elementIndex
- Element row key in the table's address space- Returns:
- The byte value at the specified element row key
-
fillChunkAppend
public void fillChunkAppend(@NotNull @NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super ATTR> destination, int length) Description copied from interface:Page.WithDefaultsForRepeatingValues
Appends the values repeating valuelength
times todestination
.- Specified by:
fillChunkAppend
in interfacePage.WithDefaultsForRepeatingValues<ATTR extends Any>
-
getBytes
public byte[] getBytes(long firstElementIndex, @NotNull @org.jetbrains.annotations.NotNull byte[] destination, int destinationOffset, int length) Description copied from interface:ColumnRegionByte
Get a range of bytes from this region. Implementations are not required to verify that the range specified is meaningful.- Specified by:
getBytes
in interfaceColumnRegionByte<ATTR extends Any>
- 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
-