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.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.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 TypeMethodDescriptionvoid
fillChunk
(ChunkSource.FillContext context, @NotNull WritableChunk communityDestination, @NotNull RowSequence rowSequence) void
fillChunkAppend
(ChunkSource.FillContext context, @NotNull WritableChunk communityDestination, RowSequence.Iterator rowSequenceIterator) getChunk
(ChunkSource.GetContext context, long firstKey, long lastKey) getChunk
(ChunkSource.GetContext context, @NotNull RowSequence rowSequence) short
getShort
(long elementIndex) io.deephaven.enterprise.compatibility.region.ShortColumnRegionAdapter.WrappedFillContext
makeFillContext
(int chunkCapacity, SharedContext sharedContext) makeGetContext
(int chunkCapacity, SharedContext sharedContext) long
mask()
Methods inherited from class io.deephaven.enterprise.sources.regioned.impl.InvalidatableRegion
invalidate, 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.ColumnRegionShort
getChunkType, getShort
Methods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunkByFilling
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
maxRow
Methods 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:
getShort
in interfaceColumnRegionShort<ATTR extends Values>
-
mask
public long mask()- Specified by:
mask
in interfacePagingChunkSource<ATTR extends Values>
-
fillChunkAppend
public void fillChunkAppend(@NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk communityDestination, @NotNull RowSequence.Iterator rowSequenceIterator) - Specified by:
fillChunkAppend
in interfacePagingChunkSource<ATTR extends Values>
-
getChunk
public Chunk<ATTR> getChunk(@NotNull ChunkSource.GetContext context, @NotNull @NotNull RowSequence rowSequence) - Specified by:
getChunk
in interfaceChunkSource<ATTR extends Values>
- Specified by:
getChunk
in interfaceDefaultChunkSource<ATTR extends Values>
-
getChunk
- Specified by:
getChunk
in interfaceChunkSource<ATTR extends Values>
- Specified by:
getChunk
in interfaceDefaultChunkSource<ATTR extends Values>
-
fillChunk
public void fillChunk(@NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk communityDestination, @NotNull @NotNull RowSequence rowSequence) - Specified by:
fillChunk
in interfaceChunkSource<ATTR extends Values>
-