Package org.elasticsearch.datageneration
Class MappingGenerator
java.lang.Object
org.elasticsearch.datageneration.MappingGenerator
Generator that generates a valid random mapping that follows the structure of provided
Template.
Mapping will contain all fields from the template with generated mapping parameters.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MappingGenerator
-
-
Method Details
-
generate
Generates a valid random mapping following the provided template.- Parameters:
template- template for the mapping- Returns:
Mapping
-