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,
@Nullable List<org.apache.calcite.avatica.ColumnMetaData.Rep> repList,
org.apache.calcite.linq4j.Enumerable<T> source)
Deprecated.
|
static <T> Table |
createCloneTable(JavaTypeFactory typeFactory,
RelProtoDataType protoRowType,
List<RelCollation> collations,
@Nullable List<org.apache.calcite.avatica.ColumnMetaData.Rep> repList,
org.apache.calcite.linq4j.Enumerable<T> source) |
protected Map<String,Table> |
getTableMap()
Returns a map of tables in this schema by name.
|
getExpression, getFunctionMultimap, getFunctionNames, getFunctions, getSubSchema, getSubSchemaMap, getSubSchemaNames, getTable, getTableNames, getType, getTypeMap, getTypeNames, isMutable, snapshotpublic 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 AbstractSchema@Deprecated public static <T> Table createCloneTable(JavaTypeFactory typeFactory, RelProtoDataType protoRowType, @Nullable List<org.apache.calcite.avatica.ColumnMetaData.Rep> repList, org.apache.calcite.linq4j.Enumerable<T> source)
public static <T> Table createCloneTable(JavaTypeFactory typeFactory, RelProtoDataType protoRowType, List<RelCollation> collations, @Nullable List<org.apache.calcite.avatica.ColumnMetaData.Rep> repList, org.apache.calcite.linq4j.Enumerable<T> source)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.