Class ParsedInference

java.lang.Object
org.elasticsearch.search.aggregations.ParsedAggregation
org.elasticsearch.client.analytics.ParsedInference
All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment, org.elasticsearch.search.aggregations.Aggregation

public class ParsedInference
extends org.elasticsearch.search.aggregations.ParsedAggregation
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation

    org.elasticsearch.search.aggregations.Aggregation.CommonFields

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields
    Modifier and Type Field Description
    static org.elasticsearch.common.ParseField FEATURE_IMPORTANCE  
    static org.elasticsearch.common.ParseField TOP_CLASSES  
    static org.elasticsearch.common.ParseField WARNING  

    Fields inherited from class org.elasticsearch.search.aggregations.ParsedAggregation

    metadata

    Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation

    TYPED_KEYS_DELIMITER

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type Method Description
    protected org.elasticsearch.common.xcontent.XContentBuilder doXContentBody​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)  
    static ParsedInference fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser, java.lang.String name)  
    java.util.List<FeatureImportance> getFeatureImportance()  
    java.util.List<TopClassEntry> getTopClasses()  
    java.lang.String getType()  
    java.lang.Object getValue()  
    java.lang.String getWarning()  

    Methods inherited from class org.elasticsearch.search.aggregations.ParsedAggregation

    declareAggregationFields, getMetadata, getName, parseDouble, setName, toXContent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment

    isFragment
  • Field Details

    • FEATURE_IMPORTANCE

      public static final org.elasticsearch.common.ParseField FEATURE_IMPORTANCE
    • WARNING

      public static final org.elasticsearch.common.ParseField WARNING
    • TOP_CLASSES

      public static final org.elasticsearch.common.ParseField TOP_CLASSES
  • Method Details

    • fromXContent

      public static ParsedInference fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser, java.lang.String name)
    • getValue

      public java.lang.Object getValue()
    • getFeatureImportance

      public java.util.List<FeatureImportance> getFeatureImportance()
    • getTopClasses

      public java.util.List<TopClassEntry> getTopClasses()
    • getWarning

      public java.lang.String getWarning()
    • doXContentBody

      protected org.elasticsearch.common.xcontent.XContentBuilder doXContentBody​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      doXContentBody in class org.elasticsearch.search.aggregations.ParsedAggregation
      Throws:
      java.io.IOException
    • getType

      public java.lang.String getType()