Class AutoDateHistogramAggregationBuilder.RoundingInfo

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

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

    • RoundingInfo

      public RoundingInfo(Rounding.DateTimeUnit dateTimeUnit,  timeZone, long roughEstimateDurationMillis,  unitAbbreviation, int... innerIntervals)
    • RoundingInfo

      public RoundingInfo(StreamInput in) throws
      Throws:
  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
    • getMaximumInnerInterval

      public int getMaximumInnerInterval()
    • getDateTimeUnit

      public  getDateTimeUnit()
    • getRoughEstimateDurationMillis

      public long getRoughEstimateDurationMillis()
    • getMaximumRoughEstimateDurationMillis

      public long getMaximumRoughEstimateDurationMillis()
    • hashCode

      public int hashCode()
      Overrides:
       in class 
    • equals

      public boolean equals( obj)
      Overrides:
       in class 
    • toString

      public  toString()
      Overrides:
       in class