public abstract class OracleConnectionBuilderImpl extends Object implements OracleConnectionBuilder
| 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 |
|---|
OracleConnectionBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
abstract OracleConnection |
build()
Builds the connection of type OracleConnection.
|
String |
getInstanceName() |
String |
getPassword() |
String |
getServiceName() |
OracleShardingKeyImpl |
getShardingKey() |
OracleShardingKeyImpl |
getSuperShardingKey() |
String |
getUser() |
OracleConnectionBuilderImpl |
instanceName(String instanceName) |
OracleConnectionBuilderImpl |
password(String password) |
OracleConnectionBuilderImpl |
serviceName(String serviceName) |
OracleConnectionBuilderImpl |
shardingKey(OracleShardingKey shardingKey) |
OracleConnectionBuilderImpl |
superShardingKey(OracleShardingKey superShardingKey) |
OracleConnectionBuilderImpl |
user(String user) |
protected String user
protected String password
protected String serviceName
protected String instanceName
protected OracleShardingKey shardingKey
protected OracleShardingKey superShardingKey
public abstract OracleConnection build() throws SQLException
build in interface OracleConnectionBuilderSQLExceptionOracleConnectionBuilder.build()public OracleConnectionBuilderImpl password(String password)
password in interface OracleConnectionBuilderpassword - Password to be a part of the connection requestOracleConnectionBuilder.password(java.lang.String)public OracleConnectionBuilderImpl user(String user)
user in interface OracleConnectionBuilderuser - User Name to be a part of the connection requestOracleConnectionBuilder.user(java.lang.String)public OracleConnectionBuilderImpl serviceName(String serviceName)
serviceName - Service name to be part of the connection requestpublic OracleConnectionBuilderImpl instanceName(String instanceName)
instanceName - Instance name to be part of the connection requestpublic OracleConnectionBuilderImpl shardingKey(OracleShardingKey shardingKey)
shardingKey in interface OracleConnectionBuildershardingKey - Sharding Key object that needs to be part of connection requestOracleConnectionBuilder.shardingKey(oracle.jdbc.OracleShardingKey)public OracleConnectionBuilderImpl superShardingKey(OracleShardingKey superShardingKey)
superShardingKey in interface OracleConnectionBuildersuperShardingKey - 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()