Class SortedLongGenerator

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

public class SortedLongGenerator extends Object implements TestDataGenerator<Long,Long>
Generates a sorted column of longacters. 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.
  • Constructor Details

    • SortedLongGenerator

      public SortedLongGenerator(long minValue, long maxValue)
  • Method Details