public static class GeoDistanceAggregationBuilder.Range extends RangeAggregator.Range
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
from, FROM_FIELD, fromAsStr, key, KEY_FIELD, to, TO_FIELD, toAsStr
EMPTY_PARAMS
Constructor and Description |
---|
Range(StreamInput in)
Read from a stream.
|
Range(java.lang.String key,
java.lang.Double from,
java.lang.Double to) |
Modifier and Type | Method and Description |
---|---|
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
equals, fromXContent, getFrom, getFromAsString, getKey, getTo, getToAsString, hashCode, toString, toXContent
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isFragment
public Range(java.lang.String key, java.lang.Double from, java.lang.Double to)
public Range(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
writeTo
in interface Writeable
writeTo
in class RangeAggregator.Range
java.io.IOException