Class ByteColumnRegionAdapter<ATTR extends Values>
java.lang.Object
io.deephaven.enterprise.sources.regioned.impl.InvalidatableRegion<ATTR>
io.deephaven.enterprise.compatibility.region.ByteColumnRegionAdapter<ATTR>
- Type Parameters:
ATTR-
- All Implemented Interfaces:
Page<ATTR>,PagingChunkSource<ATTR>,ChunkSource<ATTR>,FillContextMaker,GetContextMaker,DefaultChunkSource<ATTR>,ColumnRegion<ATTR>,ColumnRegionByte<ATTR>,Releasable
public class ByteColumnRegionAdapter<ATTR extends Values>
extends InvalidatableRegion<ATTR>
implements ColumnRegionByte<ATTR>
Adapts a Legacy ColumnRegionByte to a Core ColumnRegionByte.
These adapters are used when you have a Legacy TableLocationProvider, and must present data to community components. In particular, an in-worker DataImportServer includes a Legacy TDS. To export the tables to Core query components, we must adapt the regions to Core regions.
-
Nested Class Summary
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.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
ConstructorsConstructorDescriptionByteColumnRegionAdapter(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.regioned.ColumnRegionByte<?> enterprise) -
Method Summary
Modifier and TypeMethodDescriptionvoidfillChunk(ChunkSource.FillContext context, @NotNull WritableChunk communityDestination, @NotNull RowSequence rowSequence) voidfillChunkAppend(ChunkSource.FillContext context, @NotNull WritableChunk communityDestination, RowSequence.Iterator rowSequenceIterator) bytegetByte(long elementIndex) byte[]getBytes(long firstElementIndex, @org.jetbrains.annotations.NotNull byte[] destination, int destinationOffset, int length) getChunk(ChunkSource.GetContext context, long firstKey, long lastKey) getChunk(ChunkSource.GetContext context, @NotNull RowSequence rowSequence) io.deephaven.enterprise.compatibility.region.ByteColumnRegionAdapter.WrappedFillContextmakeFillContext(int chunkCapacity, SharedContext sharedContext) makeGetContext(int chunkCapacity, SharedContext sharedContext) longmask()Methods inherited from class io.deephaven.enterprise.sources.regioned.impl.InvalidatableRegion
invalidate, throwIfInvalidatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegion
firstRowOffset, invalidateMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionByte
getByte, getChunkTypeMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunkByFillingMethods 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
maxRowMethods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Constructor Details
-
ByteColumnRegionAdapter
public ByteColumnRegionAdapter(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.regioned.ColumnRegionByte<?> enterprise)
-
-
Method Details
-
getBytes
public byte[] getBytes(long firstElementIndex, @NotNull @org.jetbrains.annotations.NotNull byte[] destination, int destinationOffset, int length) - Specified by:
getBytesin interfaceColumnRegionByte<ATTR extends Values>
-
getByte
public byte getByte(long elementIndex) - Specified by:
getBytein interfaceColumnRegionByte<ATTR extends Values>
-
mask
public long mask()- Specified by:
maskin interfacePagingChunkSource<ATTR extends Values>
-
fillChunkAppend
public void fillChunkAppend(@NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk communityDestination, @NotNull RowSequence.Iterator rowSequenceIterator) - Specified by:
fillChunkAppendin interfacePagingChunkSource<ATTR extends Values>
-
getChunk
public Chunk<ATTR> getChunk(@NotNull ChunkSource.GetContext context, @NotNull @NotNull RowSequence rowSequence) - Specified by:
getChunkin interfaceChunkSource<ATTR extends Values>- Specified by:
getChunkin interfaceDefaultChunkSource<ATTR extends Values>
-
getChunk
- Specified by:
getChunkin interfaceChunkSource<ATTR extends Values>- Specified by:
getChunkin interfaceDefaultChunkSource<ATTR extends Values>
-
fillChunk
public void fillChunk(@NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk communityDestination, @NotNull @NotNull RowSequence rowSequence) - Specified by:
fillChunkin interfaceChunkSource<ATTR extends Values>
-