public abstract class OraclePooledConnectionBuilderImpl extends Object implements OraclePooledConnectionBuilder
| Modifier and Type | Field and Description |
|---|---|
protected String |
instanceName |
protected String |
password |
protected String |
serviceName |
protected OracleShardingKey |
shardingKey |
protected OracleShardingKey |
superShardingKey |
protected String |
user |
| Constructor and Description |
|---|
OraclePooledConnectionBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
abstract OraclePooledConnection |
build()
Builds the connection of type OraclePooledConnection.
|
String |
getInstanceName() |
String |
getPassword() |
String |
getServiceName() |
OracleShardingKeyImpl |
getShardingKey() |
OracleShardingKeyImpl |
getSuperShardingKey() |
String |
getUser() |
OraclePooledConnectionBuilderImpl |
instanceName(String instanceName) |
OraclePooledConnectionBuilderImpl |
password(String password) |
OraclePooledConnectionBuilderImpl |
serviceName(String serviceName) |
OraclePooledConnectionBuilderImpl |
shardingKey(OracleShardingKey shardingKey) |
OraclePooledConnectionBuilderImpl |
superShardingKey(OracleShardingKey superShardingKey) |
OraclePooledConnectionBuilderImpl |
user(String user) |
protected String user
protected String password
protected String serviceName
protected String instanceName
protected OracleShardingKey shardingKey
protected OracleShardingKey superShardingKey
public abstract OraclePooledConnection build() throws SQLException
build in interface OraclePooledConnectionBuilderSQLExceptionOracleConnectionBuilder.build()public OraclePooledConnectionBuilderImpl password(String password)
password in interface OraclePooledConnectionBuilderpassword - Password to be a part of the connection requestOracleConnectionBuilder.password(java.lang.String)public OraclePooledConnectionBuilderImpl user(String user)
user in interface OraclePooledConnectionBuilderuser - User Name to be a part of the connection requestOracleConnectionBuilder.user(java.lang.String)public OraclePooledConnectionBuilderImpl serviceName(String serviceName)
serviceName - Service name to be part of the connection requestpublic OraclePooledConnectionBuilderImpl instanceName(String instanceName)
instanceName - Instance name to be part of the connection requestpublic OraclePooledConnectionBuilderImpl shardingKey(OracleShardingKey shardingKey)
shardingKey in interface OraclePooledConnectionBuildershardingKey - Sharding Key object that needs to be part of connection requestOracleConnectionBuilder.shardingKey(oracle.jdbc.OracleShardingKey)public OraclePooledConnectionBuilderImpl superShardingKey(OracleShardingKey superShardingKey)
superShardingKey in interface OraclePooledConnectionBuildersuperShardingKey - Super Sharding Key object that needs to be part of connection requestOracleConnectionBuilder.superShardingKey(oracle.jdbc.OracleShardingKey)public String getUser()
public String getPassword()
public String getServiceName()
public String getInstanceName()
public OracleShardingKeyImpl getShardingKey()
public OracleShardingKeyImpl getSuperShardingKey()