Module org.elasticsearch.server
Class ParsedSimpleValue
java.lang.Object
org.elasticsearch.search.aggregations.ParsedAggregation
org.elasticsearch.search.aggregations.metrics.ParsedSingleValueNumericMetricsAggregation
org.elasticsearch.search.aggregations.pipeline.ParsedSimpleValue
- All Implemented Interfaces:
- Aggregation,- NumericMetricsAggregation,- NumericMetricsAggregation.SingleValue,- SimpleValue,- ToXContent,- ToXContentFragment
- Direct Known Subclasses:
- ParsedDerivative
public class ParsedSimpleValue
extends ParsedSingleValueNumericMetricsAggregation
implements SimpleValue
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.AggregationAggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregationNumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValueNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContentToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
- 
Field SummaryFields inherited from class org.elasticsearch.search.aggregations.metrics.ParsedSingleValueNumericMetricsAggregationvalue, valueAsStringFields inherited from class org.elasticsearch.search.aggregations.ParsedAggregationmetadataFields inherited from interface org.elasticsearch.search.aggregations.AggregationTYPED_KEYS_DELIMITERFields inherited from interface org.elasticsearch.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected XContentBuilderdoXContentBody(XContentBuilder builder, ToXContent.Params params) static ParsedSimpleValuefromXContent(XContentParser parser, String name) getType()Methods inherited from class org.elasticsearch.search.aggregations.metrics.ParsedSingleValueNumericMetricsAggregationdeclareSingleValueFields, getValueAsString, setValue, setValueAsString, valueMethods inherited from class org.elasticsearch.search.aggregations.ParsedAggregationdeclareAggregationFields, getMetadata, getName, parseDouble, setName, toXContentMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.search.aggregations.AggregationgetMetadata, getNameMethods inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation.SingleValuegetValueAsString, valueMethods inherited from interface org.elasticsearch.xcontent.ToXContenttoXContentMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragmentisFragment
- 
Constructor Details- 
ParsedSimpleValuepublic ParsedSimpleValue()
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein interface- Aggregation
- Returns:
- a string representing the type of the aggregation. This type is added to the aggregation name in the response, so that it can later be used by clients to determine type of the aggregation and parse it into the proper object.
 
- 
fromXContent
- 
doXContentBodyprotected XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
- doXContentBodyin class- ParsedAggregation
- Throws:
- IOException
 
 
-