Package org.elasticsearch.datageneration
Class DataGeneratorSpecification.Builder
java.lang.Object
org.elasticsearch.datageneration.DataGeneratorSpecification.Builder
- Enclosing class:
DataGeneratorSpecification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withDataSourceHandlers(Collection<DataSourceHandler> handlers) withFullyDynamicMapping(boolean fullyDynamicMapping) withIndexMode(IndexMode indexMode) The index mode the generated mapping/documents will be validated against.withMaxFieldCountPerLevel(int maxFieldCountPerLevel) withMaxObjectDepth(int maxObjectDepth) withNestedFieldsLimit(int nestedFieldsLimit) withPredefinedFields(List<PredefinedField> predefinedFields)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withDataSourceHandlers
public DataGeneratorSpecification.Builder withDataSourceHandlers(Collection<DataSourceHandler> handlers) -
withMaxFieldCountPerLevel
-
withMaxObjectDepth
-
withNestedFieldsLimit
-
withFullyDynamicMapping
-
withPredefinedFields
public DataGeneratorSpecification.Builder withPredefinedFields(List<PredefinedField> predefinedFields) -
withIndexMode
The index mode the generated mapping/documents will be validated against. Some mapping parameters (e.g. the object form ofdoc_values) are only valid in strict-columnar modes; defaults toIndexMode.STANDARD. -
build
-