Uses of Interface
org.apache.lucene.geo.Component2D
Packages that use Component2D
Package
Description
The logical representation of a
Document for indexing and
searching.Geospatial Utility Implementations for Lucene Core
-
Uses of Component2D in org.apache.lucene.document
Fields in org.apache.lucene.document declared as Component2DModifier and TypeFieldDescriptionprivate final Component2DLatLonDocValuesQuery.component2D(package private) final Component2DSpatialQuery.queryComponent2DMethods in org.apache.lucene.document that return Component2DModifier and TypeMethodDescriptionprotected Component2DLatLonPointQuery.createComponent2D(Geometry... geometries) protected Component2DLatLonShapeBoundingBoxQuery.createComponent2D(Geometry... geometries) protected Component2DLatLonShapeDocValuesQuery.createComponent2D(Geometry... geometries) protected Component2DLatLonShapeQuery.createComponent2D(Geometry... geometries) protected abstract Component2DSpatialQuery.createComponent2D(Geometry... geometries) protected Component2DXYShapeDocValuesQuery.createComponent2D(Geometry... geometries) protected Component2DXYShapeQuery.createComponent2D(Geometry... geometries) Methods in org.apache.lucene.document with parameters of type Component2DModifier and TypeMethodDescriptionprivate PointValues.IntersectVisitorXYPointInGeometryQuery.getIntersectVisitor(DocIdSetBuilder result, Component2D tree) (package private) static SpatialQuery.SpatialVisitorLatLonShapeQuery.getSpatialVisitor(Component2D component2D) (package private) static SpatialQuery.SpatialVisitorXYShapeQuery.getSpatialVisitor(Component2D component2D) protected booleanBaseShapeDocValuesQuery.matchesComponent(ShapeDocValues dv, ShapeField.QueryRelation queryRelation, Component2D component) ShapeDocValues.relate(Component2D component) ShapeDocValues.ShapeComparator.relate(Component2D query) Computes a query component relation with the doc value shape; main entry point to the root of the binary treeprivate PointValues.RelationShapeDocValues.ShapeComparator.relate(Component2D queryComponent2D, boolean splitX, int pMaxX, int pMaxY, int nodeSize) recursive traversal method recurses through tree nodes to compute relation with the query componentprivate PointValues.RelationShapeDocValues.ShapeComparator.relateComponent(ShapeField.DecodedTriangle.TYPE type, SpatialQuery.EncodedRectangle bbox, int pMaxX, int pMaxY, double x, Component2D queryComponent2D) relates the component based on type (POINT, LINE, TRIANGLE)private PointValues.RelationShapeDocValues.ShapeComparator.relateLine(SpatialQuery.EncodedRectangle bbox, int pMaxX, int pMaxY, double ax, Component2D query) private PointValues.RelationShapeDocValues.ShapeComparator.relatePoint(SpatialQuery.EncodedRectangle bbox, int pMaxY, double ax, Component2D query) private PointValues.RelationShapeDocValues.ShapeComparator.relateTriangle(SpatialQuery.EncodedRectangle bbox, int pMaxX, int pMaxY, double ax, Component2D queryComponent2D) -
Uses of Component2D in org.apache.lucene.geo
Classes in org.apache.lucene.geo that implement Component2DModifier and TypeClassDescription(package private) class2D circle implementation containing spatial logic.(package private) final class2D multi-component geometry implementation represented as an interval tree of components.(package private) final class2D geo line implementation represented as a balanced interval tree of edges.(package private) final class2D point implementation containing geo spatial logic.(package private) final class2D polygon implementation represented as a balanced interval tree of edges.(package private) final class2D rectangle implementation containing cartesian spatial logic.Fields in org.apache.lucene.geo declared as Component2DModifier and TypeFieldDescriptionprivate final Component2DComponentTree.componentroot node of edge treeprotected final Component2DPolygon2D.holestree of holes, or nullprivate Component2DComponentTree.leftprivate Component2DComponentTree.rightprivate final Component2DGeoEncodingUtils.Component2DPredicate.treeMethods in org.apache.lucene.geo that return Component2DModifier and TypeMethodDescription(package private) static Component2DBuilds a Circle2D from Circle.(package private) static Component2DBuilds a XYCircle2D from XYCircle.(package private) static Component2DComponentTree.create(Component2D[] components) Creates tree from provided componentsstatic Component2DLatLonGeometry.create(LatLonGeometry... latLonGeometries) Creates a Component2D from the provided LatLonGeometry array(package private) static Component2Dcreate a Line2D from the provided LatLon Linestring(package private) static Component2Dcreate a Line2D from the provided XY Linestring(package private) static Component2Dcreate a Point2D component tree from a LatLon point(package private) static Component2Dcreate a Point2D component tree from a XY point(package private) static Component2DBuilds a Polygon2D from LatLon polygon(package private) static Component2DBuilds a Polygon2D from XY polygon(package private) static Component2Dcreate a component2D from the provided LatLon rectangle(package private) static Component2DRectangle2D.create(XYRectangle rectangle) create a component2D from the provided XY rectanglestatic Component2DXYGeometry.create(XYGeometry... xyGeometries) Creates a Component2D from the provided XYGeometries arrayprotected Component2DCircle.toComponent2D()protected abstract Component2DGeometry.toComponent2D()get a Component2D from the geometry objectprotected Component2DLine.toComponent2D()protected Component2DPoint.toComponent2D()protected Component2DPolygon.toComponent2D()protected Component2DRectangle.toComponent2D()protected Component2DXYCircle.toComponent2D()protected Component2DXYLine.toComponent2D()protected Component2DXYPoint.toComponent2D()protected Component2DXYPolygon.toComponent2D()protected Component2DXYRectangle.toComponent2D()Methods in org.apache.lucene.geo with parameters of type Component2DModifier and TypeMethodDescription(package private) static Component2DComponentTree.create(Component2D[] components) Creates tree from provided componentsGeoEncodingUtils.createComponentPredicate(Component2D tree) Create a predicate that checks whether points are within a geometry.private static ComponentTreeComponentTree.createTree(Component2D[] components, int low, int high, boolean splitX) Creates tree from sorted components (with range low and high inclusive)Constructors in org.apache.lucene.geo with parameters of type Component2DModifierConstructorDescriptionprivateComponent2DPredicate(int latShift, int lonShift, int latBase, int lonBase, int maxLatDelta, int maxLonDelta, byte[] relations, Component2D tree) privateComponentTree(Component2D component, boolean splitX) privatePolygon2D(double minX, double maxX, double minY, double maxY, double[] x, double[] y, Component2D holes) privatePolygon2D(Polygon polygon, Component2D holes) privatePolygon2D(XYPolygon polygon, Component2D holes)