Class BooleanClause


  • public class BooleanClause
    extends java.lang.Object
    A clause in a BooleanQuery.
    • Method Detail

      • getQuery

        public Query getQuery()
      • setQuery

        public void setQuery​(Query query)
      • isProhibited

        public boolean isProhibited()
      • isRequired

        public boolean isRequired()
      • equals

        public boolean equals​(java.lang.Object o)
        Returns true if o is equal to this.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Returns a hash code value for this object.
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object