|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gate.creole.annic.apache.lucene.search.BooleanClause
public class BooleanClause
A clause in a BooleanQuery.
Field Summary | |
---|---|
boolean |
prohibited
If true, documents documents which do match this sub-query will not match the boolean query. |
Query |
query
The query whose matching documents are combined by the boolean query. |
boolean |
required
If true, documents documents which do not match this sub-query will not match the boolean query. |
Constructor Summary | |
---|---|
BooleanClause(Query q,
boolean r,
boolean p)
Constructs a BooleanClause with query q , required
r and prohibited p . |
Method Summary | |
---|---|
boolean |
equals(Object o)
Returns true iff o is equal to this. |
int |
hashCode()
Returns a hash code value for this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Query query
public boolean required
public boolean prohibited
Constructor Detail |
---|
public BooleanClause(Query q, boolean r, boolean p)
q
, required
r
and prohibited p
.
Method Detail |
---|
public boolean equals(Object o)
o
is equal to this.
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |