Class FloatColumnRegionAdapter<ATTR extends Values>
java.lang.Object
io.deephaven.enterprise.sources.regioned.impl.InvalidatableRegion<ATTR>
io.deephaven.enterprise.compatibility.region.FloatColumnRegionAdapter<ATTR>
- Type Parameters:
ATTR
-
- All Implemented Interfaces:
Page<ATTR>
,PagingChunkSource<ATTR>
,ChunkSource<ATTR>
,FillContextMaker
,GetContextMaker
,DefaultChunkSource<ATTR>
,ColumnRegion<ATTR>
,ColumnRegionFloat<ATTR>
,Releasable
public class FloatColumnRegionAdapter<ATTR extends Values>
extends InvalidatableRegion<ATTR>
implements ColumnRegionFloat<ATTR>
Adapts a Legacy ColumnRegionFloat to a Core ColumnRegionFloat.
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.ColumnRegionFloat
ColumnRegionFloat.Constant<ATTR extends Any>, ColumnRegionFloat.Null<ATTR extends Any>, ColumnRegionFloat.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
ConstructorsConstructorDescriptionFloatColumnRegionAdapter
(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.regioned.ColumnRegionFloat<?> 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) float
getFloat
(long elementIndex) io.deephaven.enterprise.compatibility.region.FloatColumnRegionAdapter.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.ColumnRegionFloat
getChunkType, getFloat
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
-
FloatColumnRegionAdapter
public FloatColumnRegionAdapter(io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.sources.regioned.ColumnRegionFloat<?> enterprise)
-
-
Method Details
-
getFloat
public float getFloat(long elementIndex) - Specified by:
getFloat
in interfaceColumnRegionFloat<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>
-