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