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 rounding, long roughEstimateDurationMillis, java.lang.String unitAbbreviation, int... innerIntervals)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getMaximumInnerInterval()
long
getRoughEstimateDurationMillis()
int
hashCode()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
-
-
Constructor Detail
-
RoundingInfo
public RoundingInfo(Rounding rounding, long roughEstimateDurationMillis, java.lang.String unitAbbreviation, int... innerIntervals)
-
RoundingInfo
public RoundingInfo(StreamInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:Writeable
Write this into the StreamOutput.
-
getMaximumInnerInterval
public int getMaximumInnerInterval()
-
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
-
-