|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DataSourceException | |
|---|---|
| com.google.visualization.datasource | |
| com.google.visualization.datasource.base | |
| com.google.visualization.datasource.util | |
| Uses of DataSourceException in com.google.visualization.datasource |
|---|
| Methods in com.google.visualization.datasource with parameters of type DataSourceException | |
|---|---|
static java.lang.String |
DataSourceHelper.generateErrorResponse(DataSourceException dse,
DataSourceRequest dsRequest)
Generates an error response string for the given DataSourceException. |
static void |
DataSourceHelper.setServletErrorResponse(DataSourceException dataSourceException,
DataSourceRequest dataSourceRequest,
javax.servlet.http.HttpServletResponse res)
Sets the HTTP servlet response in case of an error. |
static void |
DataSourceHelper.setServletErrorResponse(DataSourceException dataSourceException,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Sets the HTTP servlet response in case of an error. |
| Methods in com.google.visualization.datasource that throw DataSourceException | |
|---|---|
static DataTable |
DataSourceHelper.applyQuery(Query query,
DataTable dataTable,
com.ibm.icu.util.ULocale locale)
Applies the given Query on the given DataTable and returns the
resulting DataTable. |
DataTable |
DataTableGenerator.generateDataTable(Query query,
javax.servlet.http.HttpServletRequest request)
Generates the data table. |
static QueryPair |
DataSourceHelper.splitQuery(Query query,
Capabilities capabilities)
Splits the Query object into two queries according to the declared data source
capabilities: data source query and completion query. |
static QueryPair |
QuerySplitter.splitQuery(Query query,
Capabilities capabilities)
Split the query into a data source query and completion query. |
static void |
DataSourceHelper.verifyAccessApproved(DataSourceRequest req)
Checks that the given request is sent from the same domain as that of the server. |
| Constructors in com.google.visualization.datasource that throw DataSourceException | |
|---|---|
DataSourceRequest(javax.servlet.http.HttpServletRequest req)
Builds a DataSource request from an HttpServletRequest. |
|
| Uses of DataSourceException in com.google.visualization.datasource.base |
|---|
| Subclasses of DataSourceException in com.google.visualization.datasource.base | |
|---|---|
class |
InvalidQueryException
An exception that is thrown when trying to serve an invalid query. |
class |
TypeMismatchException
This exception is thrown when there is a mismatch between a value type and a column type, for example when trying to assign a boolean value to a column of type number. |
| Methods in com.google.visualization.datasource.base with parameters of type DataSourceException | |
|---|---|
static ResponseStatus |
ResponseStatus.createResponseStatus(DataSourceException dse)
Creates a ResponseStatus for the given DataSourceException. |
| Constructors in com.google.visualization.datasource.base that throw DataSourceException | |
|---|---|
DataSourceParameters(java.lang.String tqxValue)
Constructs a new instance of this class, with the given "tqx" string and parses it. |
|
| Uses of DataSourceException in com.google.visualization.datasource.util |
|---|
| Subclasses of DataSourceException in com.google.visualization.datasource.util | |
|---|---|
class |
CsvDataSourceException
An exception concerning the csv data source. |
| Methods in com.google.visualization.datasource.util that throw DataSourceException | |
|---|---|
static DataTable |
SqlDataSourceHelper.executeQuery(Query query,
SqlDatabaseDescription databaseDescription)
Executes the given query on the given SQL database table, and returns the result as a DataTable. |
static java.io.Reader |
CsvDataSourceHelper.getCsvFileReader(java.lang.String file)
Returns a Reader for the file. |
static java.io.Reader |
CsvDataSourceHelper.getCsvUrlReader(java.lang.String url)
Returns a Reader for the url. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||