Interface NamedXContentObject
- All Superinterfaces:
ToXContent,ToXContentObject
- All Known Subinterfaces:
OutputAggregator,PreProcessor,TrainedModel
- All Known Implementing Classes:
CustomWordEmbedding,Ensemble,FrequencyEncoding,LangIdentNeuralNetwork,LogisticRegression,OneHotEncoding,TargetMeanEncoding,Tree,WeightedMode,WeightedSum
public interface NamedXContentObject extends 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
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
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
-