class ListTable extends AbstractQueryableTable
Modifier and Type | Field and Description |
---|---|
private Expression |
expression |
private java.util.List |
list |
private RelProtoDataType |
protoRowType |
elementType
Constructor and Description |
---|
ListTable(java.lang.reflect.Type elementType,
RelProtoDataType protoRowType,
Expression expression,
java.util.List list)
Creates a ListTable.
|
Modifier and Type | Method and Description |
---|---|
<T> Queryable<T> |
asQueryable(QueryProvider queryProvider,
SchemaPlus schema,
java.lang.String tableName)
Converts this table into a
Queryable . |
RelDataType |
getRowType(RelDataTypeFactory typeFactory)
Returns this table's row type.
|
Statistic |
getStatistic()
Returns a provider of statistics about this table.
|
getElementType, getExpression
getJdbcTableType, isRolledUp, rolledUpColumnValidInsideAgg, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getJdbcTableType, isRolledUp, rolledUpColumnValidInsideAgg
private final RelProtoDataType protoRowType
private final Expression expression
private final java.util.List list
ListTable(java.lang.reflect.Type elementType, RelProtoDataType protoRowType, Expression expression, java.util.List list)
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 Statistic getStatistic()
Table
getStatistic
in interface Table
getStatistic
in class AbstractTable
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.