public final class BooleanClause
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BooleanClause.Occur
Specifies how clauses are to occur in matching documents.
|
Constructor and Description |
---|
BooleanClause(Query query,
BooleanClause.Occur occur)
Constructs a BooleanClause.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Returns true if
o is equal to this. |
BooleanClause.Occur |
getOccur() |
Query |
getQuery() |
int |
hashCode()
Returns a hash code value for this object.
|
boolean |
isProhibited() |
boolean |
isRequired() |
boolean |
isScoring() |
java.lang.String |
toString() |
public BooleanClause(Query query, BooleanClause.Occur occur)
public BooleanClause.Occur getOccur()
public Query getQuery()
public boolean isProhibited()
public boolean isRequired()
public boolean isScoring()
public boolean equals(java.lang.Object o)
o
is equal to this.equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.