Class ShortColumnRegionAdapter<ATTR extends Values>
java.lang.Object
io.deephaven.enterprise.sources.regioned.impl.InvalidatableRegion<ATTR>
io.deephaven.enterprise.compatibility.region.ShortColumnRegionAdapter<ATTR>
- Type Parameters:
ATTR-
- All Implemented Interfaces:
Page<ATTR>,PagingChunkSource<ATTR>,ChunkSource<ATTR>,FillContextMaker,GetContextMaker,DefaultChunkSource<ATTR>,ColumnRegion<ATTR>,ColumnRegionShort<ATTR>,Releasable
public class ShortColumnRegionAdapter<ATTR extends Values>
extends InvalidatableRegion<ATTR>
implements ColumnRegionShort<ATTR>
Adapts a Legacy ColumnRegionShort to a Core ColumnRegionShort.
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.ColumnRegionShort
ColumnRegionShort.Constant<ATTR extends Any>, ColumnRegionShort.Null<ATTR extends Any>, ColumnRegionShort.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
ConstructorsConstructorDescriptionShortColumnRegionAdapter(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.regioned.ColumnRegionShort<?> 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) getChunk(ChunkSource.GetContext context, long firstKey, long lastKey) getChunk(ChunkSource.GetContext context, @NotNull RowSequence rowSequence) shortgetShort(long elementIndex) io.deephaven.enterprise.compatibility.region.ShortColumnRegionAdapter.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.ColumnRegionShort
getChunkType, getShortMethods 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
-
ShortColumnRegionAdapter
public ShortColumnRegionAdapter(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.regioned.ColumnRegionShort<?> enterprise)
-
-
Method Details
-
getShort
public short getShort(long elementIndex) - Specified by:
getShortin interfaceColumnRegionShort<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>
-