Package io.deephaven.engine.rowset
Interface RowSetBuilderRandom
- All Known Implementing Classes:
AdaptiveRowSetBuilderRandom,BitmapRandomBuilder,PrecomputedRowSetBuilderRandom
public interface RowSetBuilderRandom
Builder interface for
RowSet construction in arbitrary order.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKey(long rowKey) default voiddefault voidaddOrderedRowKeysChunk(IntChunk<? extends OrderedRowKeys> chunk) default voidaddOrderedRowKeysChunk(LongChunk<? extends OrderedRowKeys> chunk) default voidaddOrderedRowKeysChunk(LongChunk<OrderedRowKeys> chunk, int offset, int length) voidaddRange(long firstRowKey, long lastRowKey) default voiddefault voidaddRowKeysChunk(IntChunk<? extends RowKeys> chunk) default voidaddRowKeysChunk(LongChunk<? extends RowKeys> chunk) default voidAdd every row key inrowSet.build()Build theWritableRowSetfrom the accumulated row keys.
-
Method Details
-
build
WritableRowSet build()Build theWritableRowSetfrom the accumulated row keys. Builders are single use: at most one build call is permitted, and subsequent calls throwIllegalStateException. The effect of providing further row keys after building is undefined.- Returns:
- The built RowSet
-
addKey
void addKey(long rowKey) -
addRange
void addRange(long firstRowKey, long lastRowKey) -
addKeys
-
addRanges
-
addRowKeysChunk
-
addRowKeysChunk
-
addOrderedRowKeysChunk
-
addOrderedRowKeysChunk
-
addOrderedRowKeysChunk
-
addRowSet
Add every row key inrowSet.- Parameters:
rowSet- The row set to add
-