Interface NamedXContentObject
- All Superinterfaces:
org.elasticsearch.xcontent.ToXContent
,org.elasticsearch.xcontent.ToXContentObject
- All Known Subinterfaces:
InferenceConfig
,OutputAggregator
,PreProcessor
,TrainedModel
- All Known Implementing Classes:
ClassificationConfig
,CustomWordEmbedding
,Ensemble
,Exponent
,FrequencyEncoding
,LangIdentNeuralNetwork
,LogisticRegression
,Multi
,NGram
,OneHotEncoding
,RegressionConfig
,TargetMeanEncoding
,Tree
,WeightedMode
,WeightedSum
public interface NamedXContentObject
extends org.elasticsearch.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
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
-
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Methods inherited from interface org.elasticsearch.xcontent.ToXContent
toXContent
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Method Details
-
getName
String getName()- Returns:
- The name of the XContentObject that is to be serialized
-