Class SortedCharGenerator

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

public class SortedCharGenerator extends Object implements TestDataGenerator<Character,Character>
Generates a sorted column of characters. 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.