|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.search.BooleanClause
public class BooleanClause
A clause in a BooleanQuery.
| 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 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()
|
void |
setOccur(BooleanClause.Occur occur)
|
void |
setQuery(Query query)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanClause(Query query,
BooleanClause.Occur occur)
| Method Detail |
|---|
public BooleanClause.Occur getOccur()
public void setOccur(BooleanClause.Occur occur)
public Query getQuery()
public void setQuery(Query query)
public boolean isProhibited()
public boolean isRequired()
public boolean equals(Object o)
o is equal to this.
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||