Class RandomGroupingBuilder<DATA_TYPE>
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.RandomGroupingBuilder<DATA_TYPE>
Builder for constructing groupings from one or more
<value, key range>
pairs, with no requirement that key
ranges be sequential.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addToGrouping
(DATA_TYPE value, long firstKey, long lastKey) Add a mapping from value [firstRowKey, lastRowKey] to the groupings under construction.Get the groupings under construction in a form usable by AbstractColumnSource implementations.
-
Constructor Details
-
RandomGroupingBuilder
public RandomGroupingBuilder()
-
-
Method Details
-
addToGrouping
Add a mapping from value [firstRowKey, lastRowKey] to the groupings under construction.- Parameters:
value
- The value for the groupingfirstKey
- The first key in the rangelastKey
- The last key in the range
-
getGrouping
Get the groupings under construction in a form usable by AbstractColumnSource implementations.- Returns:
- A mapping from grouping value to its matching RowSet
-