Class AutoDateHistogramAggregationBuilder.RoundingInfo
java.lang.Object
org.elasticsearch.search.aggregations.bucket.histogram.AutoDateHistogramAggregationBuilder.RoundingInfo
- All Implemented Interfaces:
Writeable
- Enclosing class:
- AutoDateHistogramAggregationBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
ConstructorDescriptionRoundingInfo(Rounding.DateTimeUnit dateTimeUnit, ZoneId timeZone, long roughEstimateDurationMillis, String unitAbbreviation, int... innerIntervals)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
long
long
int
hashCode()
toString()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
RoundingInfo
public RoundingInfo(Rounding.DateTimeUnit dateTimeUnit, ZoneId timeZone, long roughEstimateDurationMillis, String unitAbbreviation, int... innerIntervals) -
RoundingInfo
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
getMaximumInnerInterval
public int getMaximumInnerInterval() -
getDateTimeUnit
-
getRoughEstimateDurationMillis
public long getRoughEstimateDurationMillis() -
getMaximumRoughEstimateDurationMillis
public long getMaximumRoughEstimateDurationMillis() -
hashCode
public int hashCode() -
equals
-
toString
-