org.apache.lucene.search
public class BooleanClause extends Object implements Serializable
| Nested Class Summary | |
|---|---|
| static class | BooleanClause.Occur Specifies how clauses are to occur in matching documents. |
| Constructor Summary | |
|---|---|
| BooleanClause(Query query, BooleanClause.Occur occur) Constructs a BooleanClause. | |
| Method Summary | |
|---|---|
| boolean | equals(Object o) Returns true iff o is equal to this. |
| BooleanClause.Occur | getOccur() |
| Query | getQuery() |
| int | hashCode() Returns a hash code value for this object. |
| boolean | isProhibited() |
| boolean | isRequired() |
| void | setOccur(BooleanClause.Occur occur) |
| void | setQuery(Query query) |
| String | toString() |
o is equal to this.