E - element typeabstract static class CalciteMetaImpl.MetadataTable<E> extends AbstractQueryableTable
elementType| Constructor and Description |
|---|
MetadataTable(Class<E> clazz) |
| Modifier and Type | Method and Description |
|---|---|
<T> Queryable<T> |
asQueryable(QueryProvider queryProvider,
SchemaPlus schema,
String tableName)
Converts this table into a
Queryable. |
protected abstract Enumerator<E> |
enumerator(CalciteMetaImpl connection) |
Class<E> |
getElementType()
Returns the element type of the collection that will implement this
table.
|
Schema.TableType |
getJdbcTableType()
Type of table.
|
RelDataType |
getRowType(RelDataTypeFactory typeFactory)
Returns this table's row type.
|
getExpressiongetStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStatistic, isRolledUp, rolledUpColumnValidInsideAggpublic 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.
typeFactory - Type factory with which to create the typepublic Schema.TableType getJdbcTableType()
TablegetJdbcTableType in interface TablegetJdbcTableType in class AbstractTablepublic Class<E> getElementType()
QueryableTablegetElementType in interface QueryableTablegetElementType in class AbstractQueryableTableprotected abstract Enumerator<E> enumerator(CalciteMetaImpl connection)
public <T> Queryable<T> asQueryable(QueryProvider queryProvider, SchemaPlus schema, String tableName)
QueryableTableQueryable.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.