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
,ToXContent
,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
ToXContent.DelegatingMapParams, ToXContent.MapParams, 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
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Constructor Detail
-
Range
public Range(java.lang.String key, java.lang.Double from, java.lang.Double to)
-
Range
public Range(StreamInput in) throws java.io.IOException
Read from a stream.- 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.- Specified by:
writeTo
in interfaceWriteable
- Overrides:
writeTo
in classRangeAggregator.Range
- Throws:
java.io.IOException
-
-