|
||||||||||
| 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.ColumnIsNullFilter
public class ColumnIsNullFilter
A filter that matches null values. Its isMatch function returns true if the value at the column is a null value (as defined by TableCell.isNull()).
| Constructor Summary | |
|---|---|
ColumnIsNullFilter(AbstractColumn column)
Constructs a new instance of this class with the given column ID. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
protected java.util.List<AggregationColumn> |
getAggregationColumns()
Returns a list of all aggregation columns this filter uses. |
java.util.Set<java.lang.String> |
getAllColumnIds()
Returns all the columnIds this filter uses. |
AbstractColumn |
getColumn()
Returns the column that should be null. |
java.util.List<ScalarFunctionColumn> |
getScalarFunctionColumns()
Returns a list of all scalarFunctionColumns this filter uses, in this case the scalarFunctionColumns in column (e.g, in the filter 'year(a) is null' it will return year(a). |
int |
hashCode()
|
boolean |
isMatch(DataTable table,
TableRow row)
Checks if this row should be part of the result set. |
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 ColumnIsNullFilter(AbstractColumn column)
column - The column that should be null.| Method Detail |
|---|
public AbstractColumn getColumn()
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 QueryFilter
public boolean isMatch(DataTable table,
TableRow row)
isMatch in class QueryFiltertable - The table containing this row.row - The row to check.
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 | |||||||||