Package io.deephaven.engine.table.impl
Class PrecomputedRowSetBuilderRandom
java.lang.Object
io.deephaven.engine.table.impl.PrecomputedRowSetBuilderRandom
- All Implemented Interfaces:
RowSetBuilderRandom
This is a niche class that allows an existing
rowset
to masquerade as a
RowSetBuilderRandom
for the sake of efficient processing.
General usage would embed this in a collection with actual RowSetBuilderRandom
and process all items
similarly. See
PartitionByChunkedOperator.appendShifts(io.deephaven.chunk.LongChunk, io.deephaven.chunk.LongChunk, int, int, long)
and PartitionByChunkedOperator.extractAndClearBuilderRandom(io.deephaven.chunk.WritableObjectChunk, int)
for
an example.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.engine.rowset.RowSetBuilderRandom
RowSetBuilderRandom.Helper
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addKey
(long rowKey) void
addRange
(long firstRowKey, long lastRowKey) build()
createFromRowSet
(@NotNull WritableRowSet rowSet) 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.rowset.RowSetBuilderRandom
addKeys, addOrderedRowKeysChunk, addOrderedRowKeysChunk, addOrderedRowKeysChunk, addRanges, addRowKeysChunk, addRowKeysChunk, addRowSet
-
Method Details
-
build
- Specified by:
build
in interfaceRowSetBuilderRandom
-
addKey
public void addKey(long rowKey) - Specified by:
addKey
in interfaceRowSetBuilderRandom
-
addRange
public void addRange(long firstRowKey, long lastRowKey) - Specified by:
addRange
in interfaceRowSetBuilderRandom
-
createFromRowSet
public static PrecomputedRowSetBuilderRandom createFromRowSet(@NotNull @NotNull WritableRowSet rowSet)
-