public class NodeBooleanClause extends Object implements Serializable
NodeBooleanQuery
.
Code taken from BooleanClause
and adapted for the Siren use case.
Modifier and Type | Class and Description |
---|---|
static class |
NodeBooleanClause.Occur
Specifies how clauses are to occur in matching documents.
|
Constructor and Description |
---|
NodeBooleanClause(NodeQuery query,
NodeBooleanClause.Occur occur)
Constructs a BooleanClause.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns true if
o is equal to this. |
NodeBooleanClause.Occur |
getOccur() |
NodeQuery |
getQuery() |
int |
hashCode()
Returns a hash code value for this object.
|
boolean |
isProhibited() |
boolean |
isRequired() |
void |
setOccur(NodeBooleanClause.Occur occur) |
void |
setQuery(NodeQuery query) |
String |
toString() |
public NodeBooleanClause(NodeQuery query, NodeBooleanClause.Occur occur)
public NodeBooleanClause.Occur getOccur()
public void setOccur(NodeBooleanClause.Occur occur)
public NodeQuery getQuery()
public void setQuery(NodeQuery query)
public boolean isProhibited()
public boolean isRequired()
public boolean equals(Object o)
o
is equal to this.public int hashCode()
Copyright © 2014. All rights reserved.