Class SortableSingleDocSource

All Implemented Interfaces:
Closeable, AutoCloseable

public class SortableSingleDocSource extends SingleDocSource
Adds fields appropriate for sorting: country, random_string and sort_field (int). Supports the following parameters:
  • sort.rng - defines the range for sort-by-int field (default 20000).
  • rand.seed - defines the seed to initialize Random with (default 13).