Class DefaultObjectGenerationHandler
java.lang.Object
org.elasticsearch.datageneration.datasource.DefaultObjectGenerationHandler
- All Implemented Interfaces:
DataSourceHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringField names will not be generated which start with `_reserved_`. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.datageneration.datasource.DataSourceHandler
handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, handle
-
Field Details
-
RESERVED_FIELD_NAME_PREFIX
Field names will not be generated which start with `_reserved_`. Handlers can safely create field names starting with this prefix without the concern of randomly generated fields having the same name.- See Also:
-
-
Constructor Details
-
DefaultObjectGenerationHandler
public DefaultObjectGenerationHandler()
-
-
Method Details
-
handle
- Specified by:
handlein interfaceDataSourceHandler
-
handle
- Specified by:
handlein interfaceDataSourceHandler
-
handle
public DataSourceResponse.ObjectArrayGenerator handle(DataSourceRequest.ObjectArrayGenerator request) - Specified by:
handlein interfaceDataSourceHandler
-
handle
public DataSourceResponse.DynamicMappingGenerator handle(DataSourceRequest.DynamicMappingGenerator request) - Specified by:
handlein interfaceDataSourceHandler
-