public final class ShadowRuntimeContext extends SingleDataSourceRuntimeContext<org.apache.shardingsphere.core.rule.ShadowRule>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ShadowRuntimeContext.ShadowType |
| 构造器和说明 |
|---|
ShadowRuntimeContext(DataSource actualDataSource,
DataSource shadowDataSource,
org.apache.shardingsphere.core.rule.ShadowRule rule,
Properties props,
org.apache.shardingsphere.spi.database.type.DatabaseType databaseType) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaData |
loadSchemaMetaData(DataSource dataSource) |
close, getMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatabaseType, getExecutorEngine, getProperties, getRule, getSqlParserEnginepublic ShadowRuntimeContext(DataSource actualDataSource, DataSource shadowDataSource, org.apache.shardingsphere.core.rule.ShadowRule rule, Properties props, org.apache.shardingsphere.spi.database.type.DatabaseType databaseType) throws SQLException
SQLExceptionprotected org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaData loadSchemaMetaData(DataSource dataSource) throws SQLException
loadSchemaMetaData 在类中 SingleDataSourceRuntimeContext<org.apache.shardingsphere.core.rule.ShadowRule>SQLExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.