Class SortedIntGenerator

java.lang.Object
io.deephaven.engine.testutil.generator.SortedIntGenerator
All Implemented Interfaces:
TestDataGenerator<Integer,Integer>

public class SortedIntGenerator extends Object implements TestDataGenerator<Integer,Integer>
Generates a sorted column of intacters. Some query operations require sorted values as input, the sorted generators creates columns that are in sorted order. Internally, an Index of current values plus a hashmap of those values is maintained. When new rows are added, the values are randomly selected between the prior and next point.