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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Constructor Description RoundingInfo(StreamInput in)
RoundingInfo(Rounding.DateTimeUnit dateTimeUnit, java.time.ZoneId timeZone, long roughEstimateDurationMillis, java.lang.String unitAbbreviation, int... innerIntervals)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDateTimeUnit()
int
getMaximumInnerInterval()
long
getRoughEstimateDurationMillis()
int
hashCode()
java.lang.String
toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
RoundingInfo
public RoundingInfo(Rounding.DateTimeUnit dateTimeUnit, java.time.ZoneId timeZone, long roughEstimateDurationMillis, java.lang.String unitAbbreviation, int... innerIntervals) -
RoundingInfo
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
getMaximumInnerInterval
public int getMaximumInnerInterval() -
getDateTimeUnit
public java.lang.String getDateTimeUnit() -
getRoughEstimateDurationMillis
public long getRoughEstimateDurationMillis() -
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-