java.lang.Object
org.elasticsearch.xpack.core.ml.utils.ToXContentParams
Parameters used by machine learning for controlling X Content serialisation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringParameter to indicate if this XContent serialization should only include fields that are allowed to be used on PUT This helps to GET a configuration, copy it, and then PUT it directly without removing or changing any fields in betweenstatic final StringParameter to indicate whether we are serialising to X Content for internal storage.static final StringWhen serialising POJOs to X Content this indicates whether the calculated (i.e. -
Method Summary
-
Field Details
-
FOR_INTERNAL_STORAGE
Parameter to indicate whether we are serialising to X Content for internal storage. Certain fields need to be persisted but should not be visible everywhere.- See Also:
-
EXCLUDE_GENERATED
Parameter to indicate if this XContent serialization should only include fields that are allowed to be used on PUT This helps to GET a configuration, copy it, and then PUT it directly without removing or changing any fields in between- See Also:
-
INCLUDE_CALCULATED_FIELDS
When serialising POJOs to X Content this indicates whether the calculated (i.e. not stored) fields should be included or not- See Also:
-