Class GeoDistanceAggregationBuilder.Range
java.lang.Object
org.elasticsearch.search.aggregations.bucket.range.RangeAggregator.Range
org.elasticsearch.search.aggregations.bucket.range.GeoDistanceAggregationBuilder.Range
- All Implemented Interfaces:
Writeable
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
- Enclosing class:
- GeoDistanceAggregationBuilder
public static class GeoDistanceAggregationBuilder.Range extends RangeAggregator.Range
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.bucket.range.RangeAggregator.Range
from, FROM_FIELD, fromAsStr, key, KEY_FIELD, to, TO_FIELD, toAsStr
-
Constructor Summary
Constructors Constructor Description Range(java.lang.String key, java.lang.Double from, java.lang.Double to)
Range(StreamInput in)
Read from a stream. -
Method Summary
Modifier and Type Method Description void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class org.elasticsearch.search.aggregations.bucket.range.RangeAggregator.Range
equals, fromXContent, getFrom, getFromAsString, getKey, getTo, getToAsString, hashCode, toString, toXContent
-
Constructor Details
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classRangeAggregator.Range
- Throws:
java.io.IOException
-