public abstract class BinaryLogicalFilter extends AbstractFilter
| Constructor and Description |
|---|
BinaryLogicalFilter() |
| Modifier and Type | Method and Description |
|---|---|
BinaryLogicalFilter |
append(Filter query)
Add a query to this logical operation.
|
BinaryLogicalFilter |
appendAll(Collection<Filter> subQueries) |
StringBuffer |
encode(StringBuffer buff)
Encodes the filter to a StringBuffer.
|
boolean |
equals(Object o)
All filters must implement equals.
|
protected abstract String |
getLogicalOperator()
Implement this in subclass to return the logical operator, for example
"&".
|
int |
hashCode()
All filters must implement hashCode.
|
encode, toStringpublic StringBuffer encode(StringBuffer buff)
Filterbuff - The StringBuffer to encode the filter toprotected abstract String getLogicalOperator()
public boolean equals(Object o)
Filterpublic int hashCode()
FilterhashCode in interface FilterhashCode in class ObjectObject.hashCode()public final BinaryLogicalFilter append(Filter query)
query - the query to add.public final BinaryLogicalFilter appendAll(Collection<Filter> subQueries)