public class DynamicRootSchema extends DynamicSchema implements org.apache.calcite.jdbc.CalciteRootSchema
getSubSchema(String, boolean)
is called.| Modifier and Type | Field and Description |
|---|---|
protected SchemaConfig |
schemaConfig |
protected StoragePluginRegistry |
storages |
| Modifier and Type | Method and Description |
|---|---|
StoragePluginRegistry |
getSchemaFactories() |
org.apache.calcite.jdbc.CalciteSchema |
getSubSchema(String schemaName,
boolean caseSensitive) |
NavigableSet<String> |
getTableNames() |
void |
loadSchemaFactory(String schemaName,
boolean caseSensitive)
load schema factory(storage plugin) for schemaName
|
createRootSchema, plusadd, add, add, add, add, createRootSchema, getFunctionNames, getFunctions, getLatticeMap, getSubSchemaMap, getTable, getTableBasedOnNullaryFunction, getTableBySql, getTablesBasedOnNullaryFunctions, isCacheEnabled, setCachefrom, getName, getParent, getPath, getSchema, path, rootclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, add, add, add, getFunctionNames, getFunctions, getLatticeMap, getName, getParent, getPath, getSchema, getSubSchemaMap, getTable, getTableBasedOnNullaryFunction, getTableBySql, getTablesBasedOnNullaryFunctions, isCacheEnabled, path, plus, root, setCacheprotected SchemaConfig schemaConfig
protected StoragePluginRegistry storages
public StoragePluginRegistry getSchemaFactories()
public org.apache.calcite.jdbc.CalciteSchema getSubSchema(String schemaName, boolean caseSensitive)
getSubSchema in interface org.apache.calcite.jdbc.CalciteSchemagetSubSchema in class DynamicSchemapublic NavigableSet<String> getTableNames()
getTableNames in interface org.apache.calcite.jdbc.CalciteSchemagetTableNames in class org.apache.calcite.jdbc.SimpleCalciteSchemapublic void loadSchemaFactory(String schemaName, boolean caseSensitive)
schemaName - caseSensitive - Copyright © 2017 The Apache Software Foundation. All rights reserved.