Package org.elasticsearch.index.query
Class LegacyGeoShapeQueryProcessor
- java.lang.Object
-
- org.elasticsearch.index.query.LegacyGeoShapeQueryProcessor
-
- All Implemented Interfaces:
AbstractGeometryFieldMapper.QueryProcessor
public class LegacyGeoShapeQueryProcessor extends Object implements AbstractGeometryFieldMapper.QueryProcessor
-
-
Constructor Summary
Constructors Constructor Description LegacyGeoShapeQueryProcessor(AbstractGeometryFieldMapper.AbstractGeometryFieldType ft)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShapeBuilder<?,?,?>geometryToShapeBuilder(Geometry geometry)static SpatialArgsgetArgs(Geometry shape, ShapeRelation relation)Queryprocess(Geometry shape, String fieldName, ShapeRelation relation, QueryShardContext context)Queryprocess(Geometry shape, String fieldName, SpatialStrategy strategy, ShapeRelation relation, QueryShardContext context)
-
-
-
Constructor Detail
-
LegacyGeoShapeQueryProcessor
public LegacyGeoShapeQueryProcessor(AbstractGeometryFieldMapper.AbstractGeometryFieldType ft)
-
-
Method Detail
-
process
public Query process(Geometry shape, String fieldName, ShapeRelation relation, QueryShardContext context)
- Specified by:
processin interfaceAbstractGeometryFieldMapper.QueryProcessor
-
process
public Query process(Geometry shape, String fieldName, SpatialStrategy strategy, ShapeRelation relation, QueryShardContext context)
- Specified by:
processin interfaceAbstractGeometryFieldMapper.QueryProcessor
-
getArgs
public static SpatialArgs getArgs(Geometry shape, ShapeRelation relation)
-
geometryToShapeBuilder
public static ShapeBuilder<?,?,?> geometryToShapeBuilder(Geometry geometry)
-
-