com.google.visualization.datasource.query.engine
Class QueryEngine
java.lang.Object
com.google.visualization.datasource.query.engine.QueryEngine
public final class QueryEngine
- extends java.lang.Object
A collection of static methods that perform the operations involved in executing a query,
i.e., selection, sorting, paging (limit and offset), grouping and pivoting, filtering,
applying labels, and custom formatting. This also takes care of calculated columns.
This also takes care of scalar function columns.
- Author:
- Yoah B.D., Yonatan B.Y., Liron L.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
executeQuery
public static DataTable executeQuery(Query query,
DataTable table,
com.ibm.icu.util.ULocale locale)
- Returns the data that is the result of executing the query. The query is validated against the
data table before execution and an InvalidQueryException is thrown if it is invalid.
This function may change the given DataTable.
- Parameters:
query - The query.table - The table to execute the query on.
- Returns:
- The data that is the result of executing the query.
Copyright © 2009 Google. All Rights Reserved.