|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of DataTable in com.google.visualization.datasource |
|---|
| Methods in com.google.visualization.datasource that return DataTable | |
|---|---|
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. |
| Methods in com.google.visualization.datasource with parameters of type DataTable | |
|---|---|
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. |
static java.lang.String |
DataSourceHelper.generateResponse(DataTable dataTable,
DataSourceRequest dataSourceRequest)
Generates a string response for the given DataTable. |
static void |
DataSourceHelper.setServletResponse(DataTable dataTable,
DataSourceRequest dataSourceRequest,
javax.servlet.http.HttpServletResponse res)
Sets the response on the HttpServletResponse by creating a response message
for the given DataTable and sets it on the HttpServletResponse. |
static void |
DataSourceHelper.validateQueryAgainstColumnStructure(Query query,
DataTable dataTable)
Checks that the query is valid against the structure of the data table. |
| Uses of DataTable in com.google.visualization.datasource.datatable |
|---|
| Methods in com.google.visualization.datasource.datatable that return DataTable | |
|---|---|
DataTable |
DataTable.clone()
Returns a new data table, with the same data and metadata as this one. |
static DataTable |
DataTable.createSingleCellTable(java.lang.String str)
Returns a data table with str as the content of its single cell. |
| Uses of DataTable in com.google.visualization.datasource.query |
|---|
| Methods in com.google.visualization.datasource.query with parameters of type DataTable | |
|---|---|
ValueType |
ScalarFunctionColumn.getValueType(DataTable dataTable)
Returns the value type of the column after evaluating the scalar function. |
ValueType |
AggregationColumn.getValueType(DataTable dataTable)
Returns the value type of the column. |
ValueType |
SimpleColumn.getValueType(DataTable dataTable)
Returns the value type of the column. |
abstract ValueType |
AbstractColumn.getValueType(DataTable dataTable)
Returns the value type of the column. |
boolean |
ColumnColumnFilter.isMatch(DataTable table,
TableRow row)
Implements isMatch from the QueryFilter interface. |
boolean |
CompoundFilter.isMatch(DataTable table,
TableRow row)
Implements isMatch (from the QueryFilter interface) by recursively calling isMatch on each of the sub-filters, and using the compound filter type to determine the result. |
boolean |
ColumnIsNullFilter.isMatch(DataTable table,
TableRow row)
Checks if this row should be part of the result set. |
boolean |
NegationFilter.isMatch(DataTable table,
TableRow row)
Implements isMatch (from the QueryFilter interface) by recursively calling isMatch on the sub-filter and negating the result. |
boolean |
ColumnValueFilter.isMatch(DataTable table,
TableRow row)
Implements isMatch from the QueryFilter interface. |
abstract boolean |
QueryFilter.isMatch(DataTable table,
TableRow row)
Checks if this row should be part of the result set. |
void |
ScalarFunctionColumn.validateColumn(DataTable dataTable)
Checks that the column is valid. |
void |
AggregationColumn.validateColumn(DataTable dataTable)
Checks whether it makes sense to have the aggregation type on the aggregated column. |
void |
SimpleColumn.validateColumn(DataTable dataTable)
Checks if the column is valid. |
abstract void |
AbstractColumn.validateColumn(DataTable dataTable)
Checks whether the column is valid. |
| Constructors in com.google.visualization.datasource.query with parameters of type DataTable | |
|---|---|
DataTableColumnLookup(DataTable table)
Creates a new DataTableColumnLookup with the given data table. |
|
| Uses of DataTable in com.google.visualization.datasource.query.engine |
|---|
| Methods in com.google.visualization.datasource.query.engine that return DataTable | |
|---|---|
static DataTable |
QueryEngine.executeQuery(Query query,
DataTable table,
com.ibm.icu.util.ULocale locale)
Returns the data that is the result of executing the query. |
| Methods in com.google.visualization.datasource.query.engine with parameters of type DataTable | |
|---|---|
void |
AggregationNode.addChild(Value key,
java.util.Set<java.lang.String> columnsToAggregate,
DataTable table)
Adds a new child. |
static DataTable |
QueryEngine.executeQuery(Query query,
DataTable table,
com.ibm.icu.util.ULocale locale)
Returns the data that is the result of executing the query. |
AggregationPath |
TableAggregator.getRowPath(TableRow row,
DataTable table,
int depth)
Creates a path for the aggregation tree defined by a table row. |
| Constructors in com.google.visualization.datasource.query.engine with parameters of type DataTable | |
|---|---|
AggregationNode(java.util.Set<java.lang.String> columnsToAggregate,
DataTable table)
Construct a new aggregation node. |
|
AggregationTree(java.util.Set<java.lang.String> columnsToAggregate,
DataTable table)
Construct an aggregation tree. |
|
TableAggregator(java.util.List<java.lang.String> groupByColumns,
java.util.Set<java.lang.String> aggregateColumns,
DataTable table)
Constructs a table aggregator and aggregates the table. |
|
| Uses of DataTable in com.google.visualization.datasource.render |
|---|
| Methods in com.google.visualization.datasource.render with parameters of type DataTable | |
|---|---|
static java.lang.String |
JsonRenderer.getSignature(DataTable data)
Returns a String-form 32-bit hash of this table's json. |
static java.lang.CharSequence |
JsonRenderer.renderDataTable(DataTable dataTable,
boolean includeValues,
boolean includeFormatting)
Generates a JSON representation of the data table object. |
static java.lang.CharSequence |
HtmlRenderer.renderDataTable(DataTable dataTable,
com.ibm.icu.util.ULocale locale)
Generates an HTML string representation of a data table. |
static java.lang.CharSequence |
CsvRenderer.renderDataTable(DataTable dataTable,
com.ibm.icu.util.ULocale locale,
java.lang.String separator)
Generates a csv string representation of a data table. |
static java.lang.CharSequence |
JsonRenderer.renderJsonResponse(DataSourceParameters dsParams,
ResponseStatus responseStatus,
DataTable data,
boolean isJsonp)
Returns the json response for the given data table. |
| Uses of DataTable in com.google.visualization.datasource.util |
|---|
| Methods in com.google.visualization.datasource.util that return DataTable | |
|---|---|
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 DataTable |
CsvDataSourceHelper.read(java.io.Reader reader,
java.util.List<ColumnDescription> columnDescriptions,
java.lang.Boolean headerRow)
|
static DataTable |
CsvDataSourceHelper.read(java.io.Reader reader,
java.util.List<ColumnDescription> columnDescriptions,
java.lang.Boolean headerRow,
com.ibm.icu.util.ULocale locale)
Translates a CSV formatted input into a data table representation. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||