public class BooleanClause extends 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(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() |
void |
setOccur(BooleanClause.Occur occur) |
void |
setQuery(Query query) |
String |
toString() |
public BooleanClause(Query query, BooleanClause.Occur occur)
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 isScoring()
public boolean equals(Object o)
o
is equal to this.public int hashCode()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.