public static class SqlSpatialTypeFunctions.GridTable extends Object implements ScannableTable
| Modifier and Type | Method and Description |
|---|---|
Schema.TableType |
getJdbcTableType()
Type of table.
|
RelDataType |
getRowType(RelDataTypeFactory typeFactory)
Returns this table's row type.
|
Statistic |
getStatistic()
Returns a provider of statistics about this table.
|
boolean |
isRolledUp(String column)
Determines whether the given
column has been rolled up. |
boolean |
rolledUpColumnValidInsideAgg(String column,
SqlCall call,
@Nullable SqlNode parent,
@Nullable CalciteConnectionConfig config)
Determines whether the given rolled up column can be used inside the given aggregate function.
|
org.apache.calcite.linq4j.Enumerable<Object[]> |
scan(DataContext root)
Returns an enumerator over the rows in this Table.
|
public RelDataType getRowType(RelDataTypeFactory typeFactory)
TableThis is a struct type whose fields describe the names and types of the columns in this table.
The implementer must use the type factory provided. This ensures that the type is converted into a canonical form; other equal types in the same query will use the same object.
getRowType in interface TabletypeFactory - Type factory with which to create the typepublic org.apache.calcite.linq4j.Enumerable<Object[]> scan(DataContext root)
ScannableTablescan in interface ScannableTablepublic Statistic getStatistic()
TablegetStatistic in interface Tablepublic Schema.TableType getJdbcTableType()
TablegetJdbcTableType in interface Tablepublic boolean isRolledUp(String column)
Tablecolumn has been rolled up.isRolledUp in interface Tablepublic boolean rolledUpColumnValidInsideAgg(String column, SqlCall call, @Nullable SqlNode parent, @Nullable CalciteConnectionConfig config)
TableisRolledUp(column) is true.rolledUpColumnValidInsideAgg in interface Tablecolumn - The column name for which isRolledUp is truecall - The aggregate callparent - Parent node of call in the SqlNode treeconfig - Config settings. May be nullCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.