test_class.declarator: governanceSchemaContexts
test_class.modifier: private static
test_class.original_string: private static GovernanceSchemaContexts governanceSchemaContexts;
test_class.type: GovernanceSchemaContexts
test_class.var_name: governanceSchemaContexts
test_class.file: shardingsphere-jdbc/shardingsphere-jdbc-governance/src/test/java/org/apache/shardingsphere/driver/governance/internal/datasource/GovernanceShardingSphereDataSourceTest.java
test_class.identifier: GovernanceShardingSphereDataSourceTest
test_case.body: @Test
      public void assertInitializeGovernanceShardingSphereDataSource() throws SQLException {
          assertThat(new GovernanceShardingSphereDataSource(getGovernanceConfiguration()).getConnection(), instanceOf(Connection.class));
      }
test_case.class_method_signature: GovernanceShardingSphereDataSourceTest.assertInitializeGovernanceShardingSphereDataSource()
test_case.full_signature: @Test public void assertInitializeGovernanceShardingSphereDataSource()
test_case.identifier: assertInitializeGovernanceShardingSphereDataSource
test_case.invocations: assertThat getConnection getGovernanceConfiguration instanceOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertInitializeGovernanceShardingSphereDataSource()
focal_class.declarator: schemaContexts
focal_class.modifier: private final
focal_class.original_string: private final SchemaContexts schemaContexts;
focal_class.type: SchemaContexts
focal_class.var_name: schemaContexts
focal_class.declarator: transactionContexts
focal_class.modifier: private final
focal_class.original_string: private final TransactionContexts transactionContexts;
focal_class.type: TransactionContexts
focal_class.var_name: transactionContexts
focal_class.file: shardingsphere-jdbc/shardingsphere-jdbc-governance/src/main/java/org/apache/shardingsphere/driver/governance/internal/datasource/GovernanceShardingSphereDataSource.java
focal_class.identifier: GovernanceShardingSphereDataSource
focal_class.interfaces: implements AutoCloseable
focal_class.class_method_signature: GovernanceShardingSphereDataSource.GovernanceShardingSphereDataSource(final GovernanceConfiguration governanceConfig)
focal_class.full_signature: public  GovernanceShardingSphereDataSource(final GovernanceConfiguration governanceConfig)
focal_class.identifier: GovernanceShardingSphereDataSource
focal_class.modifiers: public
focal_class.parameters: (final GovernanceConfiguration governanceConfig)
focal_class.signature:  GovernanceShardingSphereDataSource(final GovernanceConfiguration governanceConfig)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.GovernanceShardingSphereDataSource(final Map<String, DataSource> dataSourceMap, final Collection<RuleConfiguration> ruleConfigs, 
                                                final Properties props, final GovernanceConfiguration governanceConfig)
focal_class.full_signature: public  GovernanceShardingSphereDataSource(final Map<String, DataSource> dataSourceMap, final Collection<RuleConfiguration> ruleConfigs, 
                                                final Properties props, final GovernanceConfiguration governanceConfig)
focal_class.identifier: GovernanceShardingSphereDataSource
focal_class.modifiers: public
focal_class.parameters: (final Map<String, DataSource> dataSourceMap, final Collection<RuleConfiguration> ruleConfigs, 
                                                final Properties props, final GovernanceConfiguration governanceConfig)
focal_class.signature:  GovernanceShardingSphereDataSource(final Map<String, DataSource> dataSourceMap, final Collection<RuleConfiguration> ruleConfigs, 
                                                final Properties props, final GovernanceConfiguration governanceConfig)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.createGovernanceFacade(final GovernanceConfiguration config)
focal_class.full_signature: private GovernanceFacade createGovernanceFacade(final GovernanceConfiguration config)
focal_class.identifier: createGovernanceFacade
focal_class.modifiers: private
focal_class.parameters: (final GovernanceConfiguration config)
focal_class.return: GovernanceFacade
focal_class.signature: GovernanceFacade createGovernanceFacade(final GovernanceConfiguration config)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.createSchemaContexts(final GovernanceFacade governanceFacade)
focal_class.full_signature: private SchemaContexts createSchemaContexts(final GovernanceFacade governanceFacade)
focal_class.identifier: createSchemaContexts
focal_class.modifiers: private
focal_class.parameters: (final GovernanceFacade governanceFacade)
focal_class.return: SchemaContexts
focal_class.signature: SchemaContexts createSchemaContexts(final GovernanceFacade governanceFacade)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.createSchemaContexts(final Map<String, DataSource> dataSourceMap, final Collection<RuleConfiguration> ruleConfigs, final Properties props)
focal_class.full_signature: private SchemaContexts createSchemaContexts(final Map<String, DataSource> dataSourceMap, final Collection<RuleConfiguration> ruleConfigs, final Properties props)
focal_class.identifier: createSchemaContexts
focal_class.modifiers: private
focal_class.parameters: (final Map<String, DataSource> dataSourceMap, final Collection<RuleConfiguration> ruleConfigs, final Properties props)
focal_class.return: SchemaContexts
focal_class.signature: SchemaContexts createSchemaContexts(final Map<String, DataSource> dataSourceMap, final Collection<RuleConfiguration> ruleConfigs, final Properties props)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.createDatabaseType(final Map<String, DataSource> dataSourceMap)
focal_class.full_signature: private DatabaseType createDatabaseType(final Map<String, DataSource> dataSourceMap)
focal_class.identifier: createDatabaseType
focal_class.modifiers: private
focal_class.parameters: (final Map<String, DataSource> dataSourceMap)
focal_class.return: DatabaseType
focal_class.signature: DatabaseType createDatabaseType(final Map<String, DataSource> dataSourceMap)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.createDatabaseType(final DataSource dataSource)
focal_class.full_signature: private DatabaseType createDatabaseType(final DataSource dataSource)
focal_class.identifier: createDatabaseType
focal_class.modifiers: private
focal_class.parameters: (final DataSource dataSource)
focal_class.return: DatabaseType
focal_class.signature: DatabaseType createDatabaseType(final DataSource dataSource)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.createTransactionContexts(final DatabaseType databaseType, final Map<String, DataSource> dataSourceMap)
focal_class.full_signature: private TransactionContexts createTransactionContexts(final DatabaseType databaseType, final Map<String, DataSource> dataSourceMap)
focal_class.identifier: createTransactionContexts
focal_class.modifiers: private
focal_class.parameters: (final DatabaseType databaseType, final Map<String, DataSource> dataSourceMap)
focal_class.return: TransactionContexts
focal_class.signature: TransactionContexts createTransactionContexts(final DatabaseType databaseType, final Map<String, DataSource> dataSourceMap)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.uploadLocalConfiguration(final GovernanceFacade governanceFacade)
focal_class.full_signature: private void uploadLocalConfiguration(final GovernanceFacade governanceFacade)
focal_class.identifier: uploadLocalConfiguration
focal_class.modifiers: private
focal_class.parameters: (final GovernanceFacade governanceFacade)
focal_class.return: void
focal_class.signature: void uploadLocalConfiguration(final GovernanceFacade governanceFacade)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.getConnection()
focal_class.full_signature: @Override public Connection getConnection()
focal_class.identifier: getConnection
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Connection
focal_class.signature: Connection getConnection()
focal_class.class_method_signature: GovernanceShardingSphereDataSource.getConnection(final String username, final String password)
focal_class.full_signature: @Override public Connection getConnection(final String username, final String password)
focal_class.identifier: getConnection
focal_class.modifiers: @Override public
focal_class.parameters: (final String username, final String password)
focal_class.return: Connection
focal_class.signature: Connection getConnection(final String username, final String password)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: GovernanceShardingSphereDataSource.close(final DataSource dataSource)
focal_class.full_signature: private void close(final DataSource dataSource)
focal_class.identifier: close
focal_class.modifiers: private
focal_class.parameters: (final DataSource dataSource)
focal_class.return: void
focal_class.signature: void close(final DataSource dataSource)
focal_class.class_method_signature: GovernanceShardingSphereDataSource.getDataSourceMap()
focal_class.full_signature: private Map<String, DataSource> getDataSourceMap()
focal_class.identifier: getDataSourceMap
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Map<String, DataSource>
focal_class.signature: Map<String, DataSource> getDataSourceMap()
focal_class.superclass: extends AbstractUnsupportedOperationDataSource
focal_method.body: @Override
      public Connection getConnection() {
          return schemaContexts.isCircuitBreak() ? new CircuitBreakerDataSource().getConnection()
                  : new ShardingSphereConnection(getDataSourceMap(), schemaContexts, transactionContexts, TransactionTypeHolder.get());
      }
focal_method.class_method_signature: GovernanceShardingSphereDataSource.getConnection()
focal_method.full_signature: @Override public Connection getConnection()
focal_method.identifier: getConnection
focal_method.invocations: isCircuitBreak getConnection getDataSourceMap get
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Connection
focal_method.signature: Connection getConnection()