Enum PointValues.Relation

java.lang.Object
java.lang.Enum<PointValues.Relation>
org.apache.lucene.index.PointValues.Relation
All Implemented Interfaces:
Serializable, Comparable<PointValues.Relation>
Enclosing class:
PointValues

public static enum PointValues.Relation extends Enum<PointValues.Relation>
Used by PointValues.intersect(org.apache.lucene.index.PointValues.IntersectVisitor) to check how each recursive cell corresponds to the query.
  • Enum Constant Details

    • CELL_INSIDE_QUERY

      public static final PointValues.Relation CELL_INSIDE_QUERY
      Return this if the cell is fully contained by the query
    • CELL_OUTSIDE_QUERY

      public static final PointValues.Relation CELL_OUTSIDE_QUERY
      Return this if the cell and query do not overlap
    • CELL_CROSSES_QUERY

      public static final PointValues.Relation CELL_CROSSES_QUERY
      Return this if the cell partially overlaps the query
  • Method Details

    • values

      public static PointValues.Relation[] 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

      public static PointValues.Relation valueOf(String name)
      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 name
      NullPointerException - if the argument is null