Class PercentilesConfig.Hdr
java.lang.Object
org.elasticsearch.search.aggregations.metrics.PercentilesConfig
org.elasticsearch.search.aggregations.metrics.PercentilesConfig.Hdr
- All Implemented Interfaces:
Writeable,org.elasticsearch.common.xcontent.ToXContent
- Enclosing class:
- PercentilesConfig
public static class PercentilesConfig.Hdr extends PercentilesConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.metrics.PercentilesConfig
PercentilesConfig.Hdr, PercentilesConfig.TDigestNested 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.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description AggregatorcreatePercentilesAggregator(java.lang.String name, ValuesSource valuesSource, SearchContext context, Aggregator parent, double[] values, boolean keyed, DocValueFormat formatter, java.util.Map<java.lang.String,java.lang.Object> metadata)booleanequals(java.lang.Object obj)intgetNumberOfSignificantValueDigits()inthashCode()voidsetNumberOfSignificantValueDigits(int numberOfSignificantValueDigits)org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class org.elasticsearch.search.aggregations.metrics.PercentilesConfig
fromLegacy, fromStream, getMethod
-
Constructor Details
-
Method Details
-
setNumberOfSignificantValueDigits
public void setNumberOfSignificantValueDigits(int numberOfSignificantValueDigits) -
getNumberOfSignificantValueDigits
public int getNumberOfSignificantValueDigits() -
createPercentilesAggregator
public Aggregator createPercentilesAggregator(java.lang.String name, ValuesSource valuesSource, SearchContext context, Aggregator parent, double[] values, boolean keyed, DocValueFormat formatter, java.util.Map<java.lang.String,java.lang.Object> metadata) throws java.io.IOException- Specified by:
createPercentilesAggregatorin classPercentilesConfig- Throws:
java.io.IOException
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classPercentilesConfig- Throws:
java.io.IOException
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classPercentilesConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classPercentilesConfig
-