Class AbstractSortedGenerator<T extends Comparable<? super T>>

java.lang.Object
io.deephaven.engine.testutil.generator.AbstractSortedGenerator<T>
All Implemented Interfaces:
TestDataGenerator<T,T>
Direct Known Subclasses:
DateGenerator, SortedBigIntegerGenerator, SortedDateTimeGenerator

public abstract class AbstractSortedGenerator<T extends Comparable<? super T>> extends Object implements TestDataGenerator<T,T>
Generates a sorted column of objects. 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.