public class ShuffleObjectsFilter extends Object implements ObjectFilter
Modifier and Type | Class and Description |
---|---|
static class |
ShuffleObjectsFilter.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
Class logger
|
(package private) RandomFactory |
rnd
Random generator.
|
static OptionID |
SEED_ID
Optional parameter to specify a seed for randomly shuffling the rows of the
database.
|
Constructor and Description |
---|
ShuffleObjectsFilter(RandomFactory rnd)
Constructor.
|
private static final Logging LOG
public static final OptionID SEED_ID
Key: -shuffle.seed
final RandomFactory rnd
public ShuffleObjectsFilter(RandomFactory rnd)
rnd
- Random generatorpublic MultipleObjectsBundle filter(MultipleObjectsBundle objects)
ObjectFilter
filter
in interface ObjectFilter
objects
- Object to filter