ToXContent
, ToXContentFragment
, Aggregation
, GeoBounds
public class ParsedGeoBounds extends ParsedAggregation implements GeoBounds
Aggregation.CommonFields
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TYPED_KEYS_DELIMITER
metadata
EMPTY_PARAMS
Constructor | Description |
---|---|
ParsedGeoBounds() |
Modifier and Type | Method | 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.
|
getMetaData, getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContent
toXContent
isFragment
public java.lang.String getType()
getType
in interface Aggregation
public XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody
in class ParsedAggregation
java.io.IOException
public GeoPoint topLeft()
GeoBounds
public GeoPoint bottomRight()
GeoBounds
bottomRight
in interface GeoBounds
public static ParsedGeoBounds fromXContent(XContentParser parser, java.lang.String name)