Interface NamedXContentObject

All Superinterfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject
All Known Subinterfaces:
InferenceConfig, LearnToRankFeatureExtractorBuilder, LenientlyParsedInferenceConfig, LenientlyParsedOutputAggregator, LenientlyParsedPreProcessor, LenientlyParsedTrainedModel, LenientlyParsedTrainedModelLocation, NlpConfig, OutputAggregator, PreProcessor, StrictlyParsedInferenceConfig, StrictlyParsedOutputAggregator, StrictlyParsedPreProcessor, StrictlyParsedTrainedModel, StrictlyParsedTrainedModelLocation, TokenizationUpdate, TrainedModel, TrainedModelLocation
All Known Implementing Classes:
AbstractTokenizationUpdate, BertJapaneseTokenization, BertJapaneseTokenizationUpdate, BertTokenization, BertTokenizationUpdate, ClassificationConfig, ClassificationConfigUpdate, CustomWordEmbedding, Ensemble, Exponent, FillMaskConfig, FillMaskConfigUpdate, FrequencyEncoding, IndexLocation, LangIdentNeuralNetwork, LearnToRankConfig, LearnToRankConfigUpdate, LogisticRegression, MPNetTokenization, MPNetTokenizationUpdate, Multi, NerConfig, NerConfigUpdate, NGram, NlpConfigUpdate, NullInferenceConfig, OneHotEncoding, PassThroughConfig, PassThroughConfigUpdate, QueryExtractorBuilder, QuestionAnsweringConfig, QuestionAnsweringConfigUpdate, RegressionConfig, RegressionConfigUpdate, RobertaTokenization, RobertaTokenizationUpdate, TargetMeanEncoding, TextClassificationConfig, TextClassificationConfigUpdate, TextEmbeddingConfig, TextEmbeddingConfigUpdate, TextExpansionConfig, TextExpansionConfigUpdate, TextSimilarityConfig, TextSimilarityConfigUpdate, Tokenization, Tree, WeightedMode, WeightedSum, XLMRobertaTokenization, XLMRobertaTokenizationUpdate, ZeroShotClassificationConfig, ZeroShotClassificationConfigUpdate

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, EMPTY_PARAMS
  • Method Summary

    Modifier and Type
    Method
    Description
     

    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