public static class GeoDistanceBuilder.Range extends Object implements ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
Range(String key,
Double from,
Double to)
Create a new range.
|
Modifier and Type | Method and Description |
---|---|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.