Class DataSource
java.lang.Object
org.elasticsearch.datageneration.datasource.DataSource
This class handles any decision performed during data generation that changes the output.
For example: generating a random number, array of random size, mapping parameter.
Goals of this abstraction are:
- to be able to easily add new types of decisions/generators
- to decouple different types of decisions from each other, adding new data type should be an isolated additive change
- to allow overriding only small specific subset of behavior (e.g. for testing purposes)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends DataSourceResponse>
Tget(DataSourceRequest<T> request)
-
Constructor Details
-
DataSource
-
-
Method Details
-
get
-