Class PercentilesConfig.TDigest
java.lang.Object
org.elasticsearch.search.aggregations.metrics.PercentilesConfig
org.elasticsearch.search.aggregations.metrics.PercentilesConfig.TDigest
- All Implemented Interfaces:
Writeable,org.elasticsearch.common.xcontent.ToXContent
- Enclosing class:
- PercentilesConfig
public static class PercentilesConfig.TDigest 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
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
-
Method Summary
Modifier and Type Method Description AggregatorcreatePercentilesAggregator(java.lang.String name, ValuesSource valuesSource, AggregationContext context, Aggregator parent, double[] values, boolean keyed, DocValueFormat formatter, java.util.Map<java.lang.String,java.lang.Object> metadata)booleanequals(java.lang.Object obj)doublegetCompression()inthashCode()voidsetCompression(double compression)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, getMethodMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContent
isFragment
-
Constructor Details
-
TDigest
public TDigest() -
TDigest
public TDigest(double compression)
-
-
Method Details
-
setCompression
public void setCompression(double compression) -
getCompression
public double getCompression() -
createPercentilesAggregator
public Aggregator createPercentilesAggregator(java.lang.String name, ValuesSource valuesSource, AggregationContext 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
-