|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.visualization.datasource.query.QueryFilter
public abstract class QueryFilter
A query filter. Any class that implements this interface can act as a filter, i.e., be the part of a query that decides for a given TableRow if that row is part of the result set.
| Constructor Summary | |
|---|---|
QueryFilter()
|
|
| Method Summary | |
|---|---|
protected abstract java.util.List<AggregationColumn> |
getAggregationColumns()
Returns a list of all aggregation columns this filter uses. |
abstract java.util.Set<java.lang.String> |
getAllColumnIds()
Returns all the columnIds this filter uses. |
abstract java.util.List<ScalarFunctionColumn> |
getScalarFunctionColumns()
Returns a list of all scalarFunctionColumns this filter uses. |
abstract boolean |
isMatch(DataTable table,
TableRow row)
Checks if this row should be part of the result set. |
abstract 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryFilter()
| Method Detail |
|---|
public abstract boolean isMatch(DataTable table,
TableRow row)
table - The table containing this row.row - The row to check.
public abstract java.util.Set<java.lang.String> getAllColumnIds()
public abstract java.util.List<ScalarFunctionColumn> getScalarFunctionColumns()
protected abstract java.util.List<AggregationColumn> getAggregationColumns()
public abstract java.lang.String toQueryString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||