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 |
logger
Class logger
|
(package private) Long |
seed
Seed for randomly shuffling the rows of the database.
|
static OptionID |
SEED_ID
Optional parameter to specify a seed for randomly shuffling the rows of the
database.
|
Constructor and Description |
---|
ShuffleObjectsFilter(Long seed)
Constructor.
|
private static final Logging logger
public static final OptionID SEED_ID
Key: -shuffle.seed
final Long seed
public ShuffleObjectsFilter(Long seed)
seed
- Seed value, may be null
for a random seed.public MultipleObjectsBundle filter(MultipleObjectsBundle objects)
ObjectFilter
filter
in interface ObjectFilter
objects
- Object to filter