ConnectionBuilder, OracleConnectionBuilderpublic abstract class OracleConnectionBuilderImpl extends Object implements OracleConnectionBuilder
| 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 |
|---|---|
OracleConnectionBuilderImpl() |
protected String user
protected String password
protected String serviceName
protected String instanceName
protected OracleShardingKey shardingKey
protected OracleShardingKey superShardingKey
protected GSSCredential gssCredential
public abstract OracleConnection build() throws SQLException
build in interface ConnectionBuilderbuild in interface OracleConnectionBuilderSQLExceptionOracleConnectionBuilder.build()public OracleConnectionBuilderImpl password(String password)
password in interface ConnectionBuilderpassword in interface OracleConnectionBuilderpassword - Password to be a part of the connection requestOracleConnectionBuilder.password(java.lang.String)public OracleConnectionBuilderImpl user(String user)
user in interface ConnectionBuilderuser 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 OracleConnectionBuilderImpl shardingKey(ShardingKey shardingKey)
shardingKey in interface ConnectionBuildershardingKey in interface OracleConnectionBuildershardingKey - Sharding Key object that needs to be part of connection requestOracleConnectionBuilder.shardingKey(oracle.jdbc.OracleShardingKey)public OracleConnectionBuilderImpl superShardingKey(ShardingKey superShardingKey)
superShardingKey in interface ConnectionBuildersuperShardingKey in interface OracleConnectionBuildersuperShardingKey - Super Sharding Key object that needs to be part of connection
requestOracleConnectionBuilder.superShardingKey(oracle.jdbc.OracleShardingKey)public OracleConnectionBuilderImpl gssCredential(GSSCredential credential)
gssCredential in interface OracleConnectionBuildercredential - 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()