|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.visualization.datasource.query.QueryFilter
com.google.visualization.datasource.query.NegationFilter
public class NegationFilter
A negation filter. Holds a sub-filter and negates its result, acting like the NOT operator.
| Constructor Summary | |
|---|---|
NegationFilter(QueryFilter subFilter)
Constructs a negation filter, with the given sub-filter. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
protected java.util.List<AggregationColumn> |
getAggregationColumns()
|
java.util.Set<java.lang.String> |
getAllColumnIds()
Returns all the columnIds this filter uses, in this case exactly all the columnIds that the sub-filter uses. |
java.util.List<ScalarFunctionColumn> |
getScalarFunctionColumns()
Returns a list of all scalarFunctionColumns this filter uses, in this case the scalarFunctionColumns its sub-filter uses. |
QueryFilter |
getSubFilter()
Returns the sub-filter associated with this NegationFilter. |
int |
hashCode()
|
boolean |
isMatch(DataTable table,
TableRow row)
Implements isMatch (from the QueryFilter interface) by recursively calling isMatch on the sub-filter and negating the result. |
java.lang.String |
toQueryString()
Returns a string that, when parsed by the query parser, should return an identical filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NegationFilter(QueryFilter subFilter)
subFilter - The sub-filter of this negation filter.| Method Detail |
|---|
public boolean isMatch(DataTable table,
TableRow row)
isMatch in class QueryFiltertable - The table containing this row.row - The row to check.
public java.util.Set<java.lang.String> getAllColumnIds()
getAllColumnIds in class QueryFilterpublic java.util.List<ScalarFunctionColumn> getScalarFunctionColumns()
getScalarFunctionColumns in class QueryFilterprotected java.util.List<AggregationColumn> getAggregationColumns()
getAggregationColumns in class QueryFilterpublic QueryFilter getSubFilter()
public java.lang.String toQueryString()
toQueryString in class QueryFilterpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||