public class ParsedGeoBounds extends ParsedAggregation implements GeoBounds
Aggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsmetadataTYPED_KEYS_DELIMITEREMPTY_PARAMS| Constructor and Description |
|---|
ParsedGeoBounds() |
| Modifier and Type | Method and Description |
|---|---|
GeoPoint |
bottomRight()
Get the bottom-right location of the bounding box.
|
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
static ParsedGeoBounds |
fromXContent(XContentParser parser,
java.lang.String name) |
java.lang.String |
getType() |
GeoPoint |
topLeft()
Get the top-left location of the bounding box.
|
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetaData, getNameisFragmenttoXContentpublic java.lang.String getType()
getType in interface Aggregationpublic XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody in class ParsedAggregationjava.io.IOExceptionpublic GeoPoint topLeft()
GeoBoundspublic GeoPoint bottomRight()
GeoBoundsbottomRight in interface GeoBoundspublic static ParsedGeoBounds fromXContent(XContentParser parser, java.lang.String name)