E
- element typeabstract static class CalciteMetaImpl.MetadataTable<E> extends AbstractQueryableTable
elementType
Constructor and Description |
---|
MetadataTable(java.lang.Class<E> clazz) |
Modifier and Type | Method and Description |
---|---|
<T> Queryable<T> |
asQueryable(QueryProvider queryProvider,
SchemaPlus schema,
java.lang.String tableName)
Converts this table into a
Queryable . |
protected abstract Enumerator<E> |
enumerator(CalciteMetaImpl connection) |
java.lang.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.
|
getExpression
getStatistic, isRolledUp, rolledUpColumnValidInsideAgg, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStatistic, isRolledUp, rolledUpColumnValidInsideAgg
MetadataTable(java.lang.Class<E> clazz)
public RelDataType getRowType(RelDataTypeFactory typeFactory)
Table
This 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()
Table
getJdbcTableType
in interface Table
getJdbcTableType
in class AbstractTable
public java.lang.Class<E> getElementType()
QueryableTable
getElementType
in interface QueryableTable
getElementType
in class AbstractQueryableTable
protected abstract Enumerator<E> enumerator(CalciteMetaImpl connection)
public <T> Queryable<T> asQueryable(QueryProvider queryProvider, SchemaPlus schema, java.lang.String tableName)
QueryableTable
Queryable
.Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.