public final class ShardingRuntimeContext extends MultipleDataSourcesRuntimeContext<org.apache.shardingsphere.core.rule.ShardingRule>
| 构造器和说明 |
|---|
ShardingRuntimeContext(Map<String,DataSource> dataSourceMap,
org.apache.shardingsphere.core.rule.ShardingRule shardingRule,
Properties props,
org.apache.shardingsphere.spi.database.type.DatabaseType databaseType) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
protected org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaData |
loadSchemaMetaData(Map<String,DataSource> dataSourceMap) |
getMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatabaseType, getExecutorEngine, getProperties, getRule, getSqlParserEnginepublic ShardingRuntimeContext(Map<String,DataSource> dataSourceMap, org.apache.shardingsphere.core.rule.ShardingRule shardingRule, Properties props, org.apache.shardingsphere.spi.database.type.DatabaseType databaseType) throws SQLException
SQLExceptionprotected org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaData loadSchemaMetaData(Map<String,DataSource> dataSourceMap) throws SQLException
loadSchemaMetaData 在类中 MultipleDataSourcesRuntimeContext<org.apache.shardingsphere.core.rule.ShardingRule>SQLExceptionpublic void close()
throws Exception
close 在接口中 AutoCloseableclose 在类中 AbstractRuntimeContext<org.apache.shardingsphere.core.rule.ShardingRule>ExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.