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)
private static PointValues.Relation
LatLonShapeBoundingBoxQuery.EncodedRectangle. 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
LatLonShapeBoundingBoxQuery.EncodedRectangle. 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 intersection(package private) PointValues.Relation
LatLonShapeBoundingBoxQuery.EncodedRectangle. intersectRangeBBox(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
intersects this to a provided range bounding box(package private) PointValues.Relation
LatLonShapeBoundingBoxQuery.EncodedRectangle. relateRangeBBox(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
compare this to a provided range bounding boxprotected PointValues.Relation
LatLonShapeBoundingBoxQuery. relateRangeBBoxToQuery(int minXOffset, int minYOffset, byte[] minTriangle, int maxXOffset, int maxYOffset, byte[] maxTriangle)
protected PointValues.Relation
LatLonShapeQuery. 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
XYShapeQuery. 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 PointValues.Relation
Circle2D.CartesianDistance. relate(double minX, double maxX, double minY, double maxY)
PointValues.Relation
Circle2D.DistanceCalculator. relate(double minX, double maxX, double minY, double maxY)
Relates this calculator to the provided bounding boxPointValues.Relation
Circle2D.HaversinDistance. relate(double minX, double maxX, double minY, double maxY)
PointValues.Relation
Circle2D. relate(double minX, double maxX, double minY, double maxY)
PointValues.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)
static 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
Point2D. relate(double minX, double maxX, double minY, double maxY)
PointValues.Relation
Polygon2D. relate(double minX, double maxX, double minY, double maxY)
PointValues.Relation
Rectangle2D. relate(double minX, double maxX, double minY, double maxY)
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)
-