Class OracleConnectionDetails
java.lang.Object
org.veupathdb.lib.container.jaxrs.utils.db.OracleConnectionDetails
-
Method Summary
Modifier and TypeMethodDescriptiondbName()Returns the name of the database.protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetailsstatic OracleConnectionDetailsfromOptions(DbOptions opts) host()Returns the host address for the connection.protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetailsprotected static Supplier<RuntimeException> missingPropErr(DbOptions opts) protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetailspassword()Returns the connection credentials password.intpoolSize()Returns the connection pool size for this connection.protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetailspoolSize(int poolSize) intport()Returns the host port for the connection.protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetailsport(int port) org.gusdb.fgputil.db.pool.ConnectionPoolConfigReturns an FgpUtil DatabaseInstance configuration based on the current connection details.Returns a JDBC connection string based on the current connection details.tsName()user()Returns the connection credentials username.protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetails
-
Method Details
-
tsName
-
toJdbcString
Description copied from interface:ConnectionDetailsReturns a JDBC connection string based on the current connection details. -
toFgpUtilConfig
public org.gusdb.fgputil.db.pool.ConnectionPoolConfig toFgpUtilConfig()Description copied from interface:ConnectionDetailsReturns an FgpUtil DatabaseInstance configuration based on the current connection details. -
fromOptions
-
host
Description copied from interface:ConnectionDetailsReturns the host address for the connection.- Specified by:
hostin interfaceConnectionDetails
-
port
public int port()Description copied from interface:ConnectionDetailsReturns the host port for the connection.- Specified by:
portin interfaceConnectionDetails
-
user
Description copied from interface:ConnectionDetailsReturns the connection credentials username.- Specified by:
userin interfaceConnectionDetails
-
password
Description copied from interface:ConnectionDetailsReturns the connection credentials password.- Specified by:
passwordin interfaceConnectionDetails
-
dbName
Description copied from interface:ConnectionDetailsReturns the name of the database.- Specified by:
dbNamein interfaceConnectionDetails
-
poolSize
public int poolSize()Description copied from interface:ConnectionDetailsReturns the connection pool size for this connection.- Specified by:
poolSizein interfaceConnectionDetails
-
host
-
port
protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetails port(int port) -
user
-
pass
-
dbName
-
poolSize
protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetails poolSize(int poolSize) -
missingPropErr
-