Module org.elasticsearch.server
Class PercentilesConfig.Hdr
java.lang.Object
org.elasticsearch.search.aggregations.metrics.PercentilesConfig
org.elasticsearch.search.aggregations.metrics.PercentilesConfig.Hdr
- All Implemented Interfaces:
Writeable,ToXContent
- Enclosing class:
- 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.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePercentilesAggregator(String name, ValuesSource valuesSource, AggregationContext context, Aggregator parent, double[] values, boolean keyed, DocValueFormat formatter, Map<String, Object> metadata) booleanintinthashCode()voidsetNumberOfSignificantValueDigits(int numberOfSignificantValueDigits) toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class org.elasticsearch.search.aggregations.metrics.PercentilesConfig
fromLegacy, fromStream, getMethodMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContent
isFragment
-
Constructor Details
-
Hdr
public Hdr() -
Hdr
public Hdr(int numberOfSignificantValueDigits)
-
-
Method Details
-
setNumberOfSignificantValueDigits
public void setNumberOfSignificantValueDigits(int numberOfSignificantValueDigits) -
getNumberOfSignificantValueDigits
public int getNumberOfSignificantValueDigits() -
createPercentilesAggregator
public Aggregator createPercentilesAggregator(String name, ValuesSource valuesSource, AggregationContext context, Aggregator parent, double[] values, boolean keyed, DocValueFormat formatter, Map<String, Object> metadata) throws IOException- Specified by:
createPercentilesAggregatorin classPercentilesConfig- Throws:
IOException
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Overrides:
writeToin classPercentilesConfig- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Throws:
IOException
-
equals
- Overrides:
equalsin classPercentilesConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classPercentilesConfig
-