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.CommonFieldsNested 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.ParseFieldFEATURE_IMPORTANCEstatic org.elasticsearch.common.ParseFieldTOP_CLASSESstatic org.elasticsearch.common.ParseFieldWARNINGFields inherited from class org.elasticsearch.search.aggregations.ParsedAggregation
metadataFields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITERFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and Type Method Description protected org.elasticsearch.common.xcontent.XContentBuilderdoXContentBody(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)static ParsedInferencefromXContent(org.elasticsearch.common.xcontent.XContentParser parser, java.lang.String name)java.util.List<FeatureImportance>getFeatureImportance()java.util.List<TopClassEntry>getTopClasses()java.lang.StringgetType()java.lang.ObjectgetValue()java.lang.StringgetWarning()Methods inherited from class org.elasticsearch.search.aggregations.ParsedAggregation
declareAggregationFields, getMetadata, getName, parseDouble, setName, toXContentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
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:
doXContentBodyin classorg.elasticsearch.search.aggregations.ParsedAggregation- Throws:
java.io.IOException
-
getType
public java.lang.String getType()
-