|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.visualization.datasource.util.SqlDataSourceHelper
public class SqlDataSourceHelper
A utility class, with static methods that are specific for creating a data source based on a SQL database table. For now, it can be based on mysql database only.
| Method Summary | |
|---|---|
static DataTable |
executeQuery(Query query,
SqlDatabaseDescription databaseDescription)
Executes the given query on the given SQL database table, and returns the result as a DataTable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DataTable executeQuery(Query query,
SqlDatabaseDescription databaseDescription)
throws DataSourceException
query - The query.databaseDescription - The information needed to connect to the SQL database and table.
DataSourceException - Thrown when the data source fails to perform the action.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||