PooledConnectionBuilder, OraclePooledConnectionBuilderpublic abstract class OraclePooledConnectionBuilderImpl extends Object implements OraclePooledConnectionBuilder
| Modifier and Type | Field | Description |
|---|---|---|
protected GSSCredential |
gssCredential |
|
protected String |
instanceName |
|
protected String |
password |
|
protected String |
serviceName |
|
protected OracleShardingKey |
shardingKey |
|
protected OracleShardingKey |
superShardingKey |
|
protected String |
user |
| Constructor | Description |
|---|---|
OraclePooledConnectionBuilderImpl() |
protected String user
protected String password
protected String serviceName
protected String instanceName
protected OracleShardingKey shardingKey
protected OracleShardingKey superShardingKey
protected GSSCredential gssCredential
public abstract OraclePooledConnection build() throws SQLException
build in interface OraclePooledConnectionBuilderbuild in interface PooledConnectionBuilderSQLExceptionOracleConnectionBuilder.build()public OraclePooledConnectionBuilderImpl password(String password)
password in interface OraclePooledConnectionBuilderpassword in interface PooledConnectionBuilderpassword - Password to be a part of the connection requestOracleConnectionBuilder.password(java.lang.String)public OraclePooledConnectionBuilderImpl user(String user)
user in interface OraclePooledConnectionBuilderuser in interface PooledConnectionBuilderuser - 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 OraclePooledConnectionBuilderImpl shardingKey(ShardingKey shardingKey)
shardingKey in interface OraclePooledConnectionBuildershardingKey in interface PooledConnectionBuildershardingKey - Sharding Key object that needs to be part of connection requestOracleConnectionBuilder.shardingKey(oracle.jdbc.OracleShardingKey)public OraclePooledConnectionBuilderImpl superShardingKey(ShardingKey superShardingKey)
superShardingKey in interface OraclePooledConnectionBuildersuperShardingKey in interface PooledConnectionBuildersuperShardingKey - Super Sharding Key object that needs to be part of connection
requestOracleConnectionBuilder.superShardingKey(oracle.jdbc.OracleShardingKey)public OraclePooledConnectionBuilderImpl gssCredential(GSSCredential credential)
gssCredential in interface OraclePooledConnectionBuildercredential - used to authenticate the connection. Not null.public String getUser()
public String getPassword()
public String getServiceName()
public String getInstanceName()
public OracleShardingKeyImpl getShardingKey()
public OracleShardingKeyImpl getSuperShardingKey()
public GSSCredential getGSSCredential()