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
 
- 
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
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)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
- 
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 org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Throws:
 IOException
 - 
equals
- Overrides:
 equalsin classPercentilesConfig
 - 
hashCode
public int hashCode()- Overrides:
 hashCodein classPercentilesConfig
 
 -