Package org.apache.lucene.index
Enum PointValues.Relation
- All Implemented Interfaces:
Serializable
,Comparable<PointValues.Relation>
- Enclosing class:
- PointValues
Used by
PointValues.intersect(org.apache.lucene.index.PointValues.IntersectVisitor)
to check how each recursive cell corresponds to the query.-
Enum Constant Summary
Enum ConstantDescriptionReturn this if the cell partially overlaps the queryReturn this if the cell is fully contained by the queryReturn this if the cell and query do not overlap -
Method Summary
Modifier and TypeMethodDescriptionstatic PointValues.Relation
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.
-
Enum Constant Details
-
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 -
CELL_CROSSES_QUERY
Return this if the cell partially overlaps the query
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-