public static enum PointValues.Relation extends Enum<PointValues.Relation>
PointValues.intersect(org.apache.lucene.index.PointValues.IntersectVisitor)
to check how each recursive cell corresponds to the query.Enum Constant and Description |
---|
CELL_CROSSES_QUERY
Return this if the cell partially overlaps the query
|
CELL_INSIDE_QUERY
Return this if the cell is fully contained by the query
|
CELL_OUTSIDE_QUERY
Return this if the cell and query do not overlap
|
Modifier and Type | Method and Description |
---|---|
static PointValues.Relation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PointValues.Relation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PointValues.Relation CELL_INSIDE_QUERY
public static final PointValues.Relation CELL_OUTSIDE_QUERY
public static final PointValues.Relation CELL_CROSSES_QUERY
public static PointValues.Relation[] values()
for (PointValues.Relation c : PointValues.Relation.values()) System.out.println(c);
public static PointValues.Relation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.