Package | Description |
---|---|
org.elasticsearch.common.geo.builders | |
org.elasticsearch.index.query | |
org.elasticsearch.index.search.shape |
Modifier and Type | Class and Description |
---|---|
static class |
BasePolygonBuilder.Ring<P extends ShapeBuilder> |
Modifier and Type | Class and Description |
---|---|
class |
BaseLineStringBuilder<E extends BaseLineStringBuilder<E>> |
class |
BasePolygonBuilder<E extends BasePolygonBuilder<E>>
The
BasePolygonBuilder implements the groundwork to create polygons. |
static class |
BasePolygonBuilder.Ring<P extends ShapeBuilder> |
class |
CircleBuilder |
class |
EnvelopeBuilder |
class |
GeometryCollectionBuilder |
class |
LineStringBuilder |
class |
MultiLineStringBuilder |
static class |
MultiLineStringBuilder.InternalLineStringBuilder |
class |
MultiPointBuilder |
class |
MultiPolygonBuilder |
static class |
MultiPolygonBuilder.InternalPolygonBuilder |
class |
PointBuilder |
class |
PointCollection<E extends PointCollection<E>>
The
PointCollection is an abstract base implementation for all GeoShapes. |
class |
PolygonBuilder |
Modifier and Type | Field and Description |
---|---|
protected ArrayList<ShapeBuilder> |
GeometryCollectionBuilder.shapes |
Modifier and Type | Method and Description |
---|---|
ShapeBuilder |
BasePolygonBuilder.close()
Close the shell of the polygon
|
ShapeBuilder |
GeometryCollectionBuilder.getShapeAt(int i) |
static ShapeBuilder |
ShapeBuilder.parse(XContentParser parser)
Create a new
ShapeBuilder from XContent |
static ShapeBuilder |
ShapeBuilder.GeoShapeType.parse(XContentParser parser) |
static ShapeBuilder |
ShapeBuilder.parse(XContentParser parser,
GeoShapeFieldMapper geoDocMapper)
Create a new
ShapeBuilder from XContent |
static ShapeBuilder |
ShapeBuilder.GeoShapeType.parse(XContentParser parser,
GeoShapeFieldMapper shapeMapper)
Parse the geometry specified by the source document and return a ShapeBuilder instance used to
build the actual geometry
|
Modifier and Type | Method and Description |
---|---|
GeometryCollectionBuilder |
GeometryCollectionBuilder.shape(ShapeBuilder shape) |
Modifier and Type | Method and Description |
---|---|
static GeoShapeFilterBuilder |
FilterBuilders.geoDisjointFilter(String name,
ShapeBuilder shape)
A filter to filter indexed shapes that are not intersection with the query shape
|
static GeoShapeFilterBuilder |
FilterBuilders.geoIntersectionFilter(String name,
ShapeBuilder shape)
A filter to filter indexed shapes intersecting with shapes
|
static GeoShapeFilterBuilder |
FilterBuilders.geoShapeFilter(String name,
ShapeBuilder shape,
ShapeRelation relation)
A filter based on the relationship of a shape and indexed shapes
|
static GeoShapeQueryBuilder |
QueryBuilders.geoShapeQuery(String name,
ShapeBuilder shape)
Query that matches Documents based on the relationship between the given shape and
indexed shapes
|
static GeoShapeFilterBuilder |
FilterBuilders.geoWithinFilter(String name,
ShapeBuilder shape)
A filter to filter indexed shapes that are contained by a shape
|
static org.apache.lucene.spatial.query.SpatialArgs |
GeoShapeQueryParser.getArgs(ShapeBuilder shape,
ShapeRelation relation) |
Constructor and Description |
---|
GeoShapeFilterBuilder(String name,
ShapeBuilder shape)
Creates a new GeoShapeFilterBuilder whose Filter will be against the
given field name using the given Shape
|
GeoShapeFilterBuilder(String name,
ShapeBuilder shape,
ShapeRelation relation)
Creates a new GeoShapeFilterBuilder whose Filter will be against the
given field name using the given Shape
|
GeoShapeQueryBuilder(String name,
ShapeBuilder shape)
Creates a new GeoShapeQueryBuilder whose Query will be against the
given field name using the given Shape
|
Modifier and Type | Method and Description |
---|---|
ShapeBuilder |
ShapeFetchService.fetch(String id,
String type,
String index,
String path)
Fetches the Shape with the given ID in the given type and index.
|
Copyright © 2009–2015. All rights reserved.