|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.navigation.analytics.FilterNot
public class FilterNot
A FilterNot
is a Filter
implementing a Boolean
NOT operation. The filter evaluates to true
for a given record
if its child filter evaluates to false
for that record.
Constructor Summary | |
---|---|
FilterNot(Filter filter)
Creates a new FilterNot . |
Method Summary | |
---|---|
Filter |
getFilter()
Gets the filter sub-expression for this FilterNot . |
void |
setFilter(Filter filter)
Sets the filter sub-expression for this FilterNot . |
String |
toString()
Returns the string form of this FilterNot . |
String |
toWire()
Returns the wire format of this FilterNot . |
void |
validateSyntax()
Validates the syntax of this FilterNot . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FilterNot(Filter filter)
FilterNot
. The FilterNot
represents the negation of the specified filter
.
filter
- the Filter
to be set.Method Detail |
---|
public Filter getFilter()
FilterNot
.
Filter
sub-expression in this FilterNot
.public void setFilter(Filter filter)
FilterNot
.
filter
- the Filter
to be set.public String toString()
FilterNot
. These are of the format:
NOT(subfilter)For example:
NOT("SalesTotal" "FilterCompare.GT" "10000")
is returned if a NOT operation is to be performed on the result of the
GREATER THAN comparison.
toString
in interface QueryNode
toString
in class Object
FilterNot
in the specified format.public String toWire()
FilterNot
. This method is not
intended for public use because the wire format is subject to change.
toWire
in interface QueryNode
FilterNot
.public void validateSyntax() throws SyntaxException
FilterNot
.
A FilterNot
is valid if it contains a
a sub-filter and that sub-filter is itself valid.
validateSyntax
in interface QueryNode
SyntaxException
- if the syntax requirements are not satisfied.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |