Uses of Class
org.apache.lucene.index.PointValues.Relation
-
Packages that use PointValues.Relation Package Description org.apache.lucene.document The logical representation of aDocument
for indexing and searching.org.apache.lucene.geo Geospatial Utility Implementations for Lucene Coreorg.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices.org.apache.lucene.search.join Support for index-time and query-time joins. -
-
Uses of PointValues.Relation in org.apache.lucene.document
Methods in org.apache.lucene.document that return PointValues.Relation Modifier and Type Method Description PointValues.Relation
FloatPointNearestNeighbor.NearestVisitor. compare(byte[] minPackedValue, byte[] maxPackedValue)
(package private) PointValues.Relation
RangeFieldQuery.QueryType. compare(byte[] queryPackedValue, byte[] minPackedValue, byte[] maxPackedValue, int numDims, int bytesPerDim)
(package private) abstract PointValues.Relation
RangeFieldQuery.QueryType. compare(byte[] queryPackedValue, byte[] minPackedValue, byte[] maxPackedValue, int numDims, int bytesPerDim, int dim)
protected PointValues.Relation
LatLonShapeBoundingBoxQuery. relateRangeBBoxToQuery(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
protected PointValues.Relation
LatLonShapeLineQuery. relateRangeBBoxToQuery(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
protected PointValues.Relation
LatLonShapePolygonQuery. relateRangeBBoxToQuery(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
protected abstract PointValues.Relation
ShapeQuery. relateRangeBBoxToQuery(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
relates an internal node (bounding box of a range of triangles) to the target query Note: logic is specific to query type seeShapeQuery.relateRangeToQuery(byte[], byte[], org.apache.lucene.document.ShapeField.QueryRelation)
andShapeQuery.relateRangeToQuery(byte[], byte[], org.apache.lucene.document.ShapeField.QueryRelation)
protected PointValues.Relation
XYShapeBoundingBoxQuery. relateRangeBBoxToQuery(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
protected PointValues.Relation
XYShapeLineQuery. relateRangeBBoxToQuery(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
protected PointValues.Relation
XYShapePolygonQuery. relateRangeBBoxToQuery(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
protected PointValues.Relation
ShapeQuery. relateRangeToQuery(byte[] minTriangle, byte[] maxTriangle, ShapeField.QueryRelation queryRelation)
relates a range of triangles (internal node) to the queryprivate static PointValues.Relation
ShapeQuery. transposeRelation(PointValues.Relation r)
transpose the relation; INSIDE becomes OUTSIDE, OUTSIDE becomes INSIDE, CROSSES remains unchangedMethods in org.apache.lucene.document with parameters of type PointValues.Relation Modifier and Type Method Description private static PointValues.Relation
ShapeQuery. transposeRelation(PointValues.Relation r)
transpose the relation; INSIDE becomes OUTSIDE, OUTSIDE becomes INSIDE, CROSSES remains unchanged -
Uses of PointValues.Relation in org.apache.lucene.geo
Methods in org.apache.lucene.geo that return PointValues.Relation Modifier and Type Method Description private static PointValues.Relation
Rectangle2D. compareBBoxToRangeBBox(byte[] bbox, int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
static utility method to compare a bbox with a range of triangles (just the bbox of the triangle collection)private static PointValues.Relation
Rectangle2D. intersectBBoxWithRangeBBox(byte[] bbox, int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
static utility method to compare a bbox with a range of triangles (just the bbox of the triangle collection) for intersectionPointValues.Relation
Rectangle2D. intersectRangeBBox(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
intersects this to a provided range bounding boxPointValues.Relation
Component2D. relate(double minX, double maxX, double minY, double maxY)
relates this component2D with a bounding boxPointValues.Relation
ComponentTree. relate(double minX, double maxX, double minY, double maxY)
Returns relation to the provided rectanglestatic PointValues.Relation
GeoUtils. relate(double minLat, double maxLat, double minLon, double maxLon, double lat, double lon, double distanceSortKey, double axisLat)
Compute the relation between the provided box and distance query.PointValues.Relation
Line2D. relate(double minX, double maxX, double minY, double maxY)
PointValues.Relation
Polygon2D. relate(double minX, double maxX, double minY, double maxY)
PointValues.Relation
XYRectangle2D. relate(double minX, double maxX, double minY, double maxY)
private PointValues.Relation
Polygon2D. relateIndexedLineSegment(double minX, double maxX, double minY, double maxY, double a2x, double a2y, double b2x, double b2y)
relates an indexed line segment (a "flat triangle") with the polygonprivate PointValues.Relation
Polygon2D. relateIndexedTriangle(double minX, double maxX, double minY, double maxY, double ax, double ay, double bx, double by, double cx, double cy)
relates an indexed triangle with the polygonPointValues.Relation
Rectangle2D. relateRangeBBox(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
compare this to a provided range bounding boxdefault PointValues.Relation
Component2D. relateTriangle(double aX, double aY, double bX, double bY, double cX, double cY)
relates this component2D with a trianglePointValues.Relation
Component2D. relateTriangle(double minX, double maxX, double minY, double maxY, double aX, double aY, double bX, double bY, double cX, double cY)
relates this component2D with a trianglePointValues.Relation
ComponentTree. relateTriangle(double minX, double maxX, double minY, double maxY, double ax, double ay, double bx, double by, double cx, double cy)
Returns relation to the provided trianglePointValues.Relation
Line2D. relateTriangle(double minX, double maxX, double minY, double maxY, double ax, double ay, double bx, double by, double cx, double cy)
PointValues.Relation
Polygon2D. relateTriangle(double minX, double maxX, double minY, double maxY, double ax, double ay, double bx, double by, double cx, double cy)
PointValues.Relation
XYRectangle2D. relateTriangle(double minX, double maxX, double minY, double maxY, double ax, double ay, double bx, double by, double cx, double cy)
Method parameters in org.apache.lucene.geo with type arguments of type PointValues.Relation Modifier and Type Method Description private static GeoEncodingUtils.Grid
GeoEncodingUtils. createSubBoxes(Rectangle boundingBox, java.util.function.Function<Rectangle,PointValues.Relation> boxToRelation)
-
Uses of PointValues.Relation in org.apache.lucene.index
Fields in org.apache.lucene.index declared as PointValues.Relation Modifier and Type Field Description private PointValues.Relation
CheckIndex.ConstantRelationIntersectVisitor. relation
Methods in org.apache.lucene.index that return PointValues.Relation Modifier and Type Method Description PointValues.Relation
CheckIndex.ConstantRelationIntersectVisitor. compare(byte[] minPackedValue, byte[] maxPackedValue)
PointValues.Relation
CheckIndex.VerifyPointsVisitor. compare(byte[] minPackedValue, byte[] maxPackedValue)
PointValues.Relation
ExitableDirectoryReader.ExitableIntersectVisitor. compare(byte[] minPackedValue, byte[] maxPackedValue)
PointValues.Relation
PointValues.IntersectVisitor. compare(byte[] minPackedValue, byte[] maxPackedValue)
Called for non-leaf cells to test how the cell relates to the query, to determine how to further recurse down the tree.static PointValues.Relation
PointValues.Relation. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PointValues.Relation[]
PointValues.Relation. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.apache.lucene.index with parameters of type PointValues.Relation Constructor Description ConstantRelationIntersectVisitor(PointValues.Relation relation)
-
Uses of PointValues.Relation in org.apache.lucene.search
Methods in org.apache.lucene.search that return PointValues.Relation Modifier and Type Method Description PointValues.Relation
NearestNeighbor.NearestVisitor. compare(byte[] minPackedValue, byte[] maxPackedValue)
PointValues.Relation
PointInSetQuery.MergePointVisitor. compare(byte[] minPackedValue, byte[] maxPackedValue)
PointValues.Relation
PointInSetQuery.SinglePointVisitor. compare(byte[] minPackedValue, byte[] maxPackedValue)
-
Uses of PointValues.Relation in org.apache.lucene.search.join
Methods in org.apache.lucene.search.join that return PointValues.Relation Modifier and Type Method Description PointValues.Relation
PointInSetIncludingScoreQuery.MergePointVisitor. compare(byte[] minPackedValue, byte[] maxPackedValue)
-