Class AutoDateHistogramAggregationBuilder.RoundingInfo

java.lang.Object
org.elasticsearch.search.aggregations.bucket.histogram.AutoDateHistogramAggregationBuilder.RoundingInfo
All Implemented Interfaces:
Writeable
Enclosing class:
AutoDateHistogramAggregationBuilder

public static class AutoDateHistogramAggregationBuilder.RoundingInfo
extends java.lang.Object
implements Writeable
  • Constructor Details

    • RoundingInfo

      public RoundingInfo​(Rounding.DateTimeUnit dateTimeUnit, java.time.ZoneId timeZone, long roughEstimateDurationMillis, java.lang.String unitAbbreviation, int... innerIntervals)
    • RoundingInfo

      public RoundingInfo​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details

    • 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
      Throws:
      java.io.IOException
    • getMaximumInnerInterval

      public int getMaximumInnerInterval()
    • getDateTimeUnit

      public java.lang.String getDateTimeUnit()
    • getRoughEstimateDurationMillis

      public long getRoughEstimateDurationMillis()
    • getMaximumRoughEstimateDurationMillis

      public long getMaximumRoughEstimateDurationMillis()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object