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.TDigest

    Nested 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.Params

    Nested 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
    Constructor Description
    Hdr()  
    Hdr​(int numberOfSignificantValueDigits)  
  • Method Summary

    Modifier and Type Method Description
    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)  
    boolean equals​(java.lang.Object obj)  
    int getNumberOfSignificantValueDigits()  
    int hashCode()  
    void setNumberOfSignificantValueDigits​(int numberOfSignificantValueDigits)  
    org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)  
    void writeTo​(StreamOutput out)
    Write this into the StreamOutput.

    Methods inherited from class org.elasticsearch.search.aggregations.metrics.PercentilesConfig

    fromLegacy, fromStream, getMethod

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods 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​(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:
      createPercentilesAggregator in class PercentilesConfig
      Throws:
      java.io.IOException
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class PercentilesConfig
      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:
      equals in class PercentilesConfig
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PercentilesConfig