static class SqlCreateTable.MutableArrayTable extends SqlCreateTable.AbstractModifiableTable implements Wrapper
| Modifier and Type | Field and Description |
|---|---|
private InitializerExpressionFactory |
initializerExpressionFactory |
private RelProtoDataType |
protoRowType |
private RelProtoDataType |
protoStoredRowType |
(package private) List |
rows |
| Constructor and Description |
|---|
MutableArrayTable(String name,
RelProtoDataType protoStoredRowType,
RelProtoDataType protoRowType,
InitializerExpressionFactory initializerExpressionFactory)
Creates a MutableArrayTable.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Queryable<T> |
asQueryable(QueryProvider queryProvider,
SchemaPlus schema,
String tableName) |
Type |
getElementType() |
Expression |
getExpression(SchemaPlus schema,
String tableName,
Class clazz) |
Collection |
getModifiableCollection() |
RelDataType |
getRowType(RelDataTypeFactory typeFactory) |
<C> C |
unwrap(Class<C> aClass) |
toModificationRelgetJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAggclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJdbcTableType, getStatistic, isRolledUp, rolledUpColumnValidInsideAggfinal List rows
private final RelProtoDataType protoStoredRowType
private final RelProtoDataType protoRowType
private final InitializerExpressionFactory initializerExpressionFactory
MutableArrayTable(String name, RelProtoDataType protoStoredRowType, RelProtoDataType protoRowType, InitializerExpressionFactory initializerExpressionFactory)
name - Name of table within its schemaprotoStoredRowType - Prototype of row type of stored columns (all
columns except virtual columns)protoRowType - Prototype of row type (all columns)initializerExpressionFactory - How columns are populatedpublic Collection getModifiableCollection()
getModifiableCollection in interface ModifiableTablepublic <T> Queryable<T> asQueryable(QueryProvider queryProvider, SchemaPlus schema, String tableName)
asQueryable in interface QueryableTablepublic Type getElementType()
getElementType in interface QueryableTablepublic Expression getExpression(SchemaPlus schema, String tableName, Class clazz)
getExpression in interface QueryableTablepublic RelDataType getRowType(RelDataTypeFactory typeFactory)
getRowType in interface Tablepublic <C> C unwrap(Class<C> aClass)
unwrap in interface Wrapperunwrap in class AbstractTableCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.