Writeable
, ToXContent
, ToXContentObject
public static class GeoDistanceAggregationBuilder.Range extends RangeAggregator.Range
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
from, FROM_FIELD, fromAsStr, key, KEY_FIELD, to, TO_FIELD, toAsStr
EMPTY_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, wait
equals, fromXContent, getFrom, getFromAsString, getKey, getTo, getToAsString, hashCode, toString, toXContent
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