public class EncryptDataSource extends AbstractUnsupportedOperationDataSource implements AutoCloseable
| Constructor and Description |
|---|
EncryptDataSource(DataSource dataSource,
org.apache.shardingsphere.api.config.encryptor.EncryptRuleConfiguration encryptRuleConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
EncryptConnection |
getConnection() |
Connection |
getConnection(String username,
String password) |
Logger |
getParentLogger() |
getLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogWriter, setLogWriterisWrapperFor, unwrappublic EncryptDataSource(DataSource dataSource, org.apache.shardingsphere.api.config.encryptor.EncryptRuleConfiguration encryptRuleConfiguration)
public EncryptConnection getConnection()
getConnection in interface DataSourcepublic Connection getConnection(String username, String password)
getConnection in interface DataSourcepublic Logger getParentLogger()
getParentLogger in interface CommonDataSourcepublic void close()
close in interface AutoCloseableCopyright © 2019 The Apache Software Foundation. All rights reserved.