Interface NamedXContentObject
- All Superinterfaces:
org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentObject
- All Known Subinterfaces:
InferenceConfig,OutputAggregator,PreProcessor,TrainedModel
- All Known Implementing Classes:
ClassificationConfig,CustomWordEmbedding,Ensemble,Exponent,FrequencyEncoding,LangIdentNeuralNetwork,LogisticRegression,OneHotEncoding,RegressionConfig,TargetMeanEncoding,Tree,WeightedMode,WeightedSum
public interface NamedXContentObject
extends org.elasticsearch.common.xcontent.ToXContentObject
Simple interface for XContent Objects that are named.
This affords more general handling when serializing and de-serializing this type of XContent when it is used in a NamedObjects
parser.
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and Type Method Description java.lang.StringgetName()
-
Method Details
-
getName
java.lang.String getName()- Returns:
- The name of the XContentObject that is to be serialized
-