public class EncryptDataSource extends AbstractDataSourceAdapter
| Constructor and Description |
|---|
EncryptDataSource(DataSource dataSource,
org.apache.shardingsphere.core.rule.EncryptRule encryptRule,
Properties props) |
| Modifier and Type | Method and Description |
|---|---|
EncryptConnection |
getConnection() |
DataSource |
getDataSource()
Get data source.
|
close, close, getConnection, getParentLogger, getRuntimeContextgetLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogWriter, setLogWriterisWrapperFor, unwrappublic EncryptDataSource(DataSource dataSource, org.apache.shardingsphere.core.rule.EncryptRule encryptRule, Properties props) throws SQLException
SQLExceptionpublic final EncryptConnection getConnection() throws SQLException
SQLExceptionpublic DataSource getDataSource()
Copyright © 2020 The Apache Software Foundation. All rights reserved.