public class CloneSchema extends AbstractSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
CloneSchema.Factory
Schema factory that creates a
CloneSchema. |
Schema.TableType| Constructor and Description |
|---|
CloneSchema(SchemaPlus sourceSchema)
Creates a CloneSchema.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Table |
createCloneTable(JavaTypeFactory typeFactory,
RelProtoDataType protoRowType,
List<ColumnMetaData.Rep> repList,
Enumerable<T> source) |
protected Map<String,Table> |
getTableMap()
Returns a map of tables in this schema by name.
|
contentsHaveChangedSince, getExpression, getFunctionMultimap, getFunctionNames, getFunctions, getSubSchema, getSubSchemaMap, getSubSchemaNames, getTable, getTableNames, isMutablepublic CloneSchema(SchemaPlus sourceSchema)
sourceSchema - JDBC data sourceprotected Map<String,Table> getTableMap()
AbstractSchemaThe implementations of AbstractSchema.getTableNames()
and AbstractSchema.getTable(String) depend on this map.
The default implementation of this method returns the empty map.
Override this method to change their behavior.
getTableMap in class AbstractSchemapublic static <T> Table createCloneTable(JavaTypeFactory typeFactory, RelProtoDataType protoRowType, List<ColumnMetaData.Rep> repList, Enumerable<T> source)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.