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.RawConnectionDetails
static OracleConnectionDetails
fromOptions
(DbOptions opts) host()
Returns the host address for the connection.protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetails
protected static Supplier
<RuntimeException> missingPropErr
(DbOptions opts) protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetails
password()
Returns the connection credentials password.int
poolSize()
Returns the connection pool size for this connection.protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetails
poolSize
(int poolSize) int
port()
Returns the host port for the connection.protected org.veupathdb.lib.container.jaxrs.utils.db.RawConnectionDetails
port
(int port) org.gusdb.fgputil.db.pool.ConnectionPoolConfig
Returns 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:ConnectionDetails
Returns a JDBC connection string based on the current connection details. -
toFgpUtilConfig
public org.gusdb.fgputil.db.pool.ConnectionPoolConfig toFgpUtilConfig()Description copied from interface:ConnectionDetails
Returns an FgpUtil DatabaseInstance configuration based on the current connection details. -
fromOptions
-
host
Description copied from interface:ConnectionDetails
Returns the host address for the connection.- Specified by:
host
in interfaceConnectionDetails
-
port
public int port()Description copied from interface:ConnectionDetails
Returns the host port for the connection.- Specified by:
port
in interfaceConnectionDetails
-
user
Description copied from interface:ConnectionDetails
Returns the connection credentials username.- Specified by:
user
in interfaceConnectionDetails
-
password
Description copied from interface:ConnectionDetails
Returns the connection credentials password.- Specified by:
password
in interfaceConnectionDetails
-
dbName
Description copied from interface:ConnectionDetails
Returns the name of the database.- Specified by:
dbName
in interfaceConnectionDetails
-
poolSize
public int poolSize()Description copied from interface:ConnectionDetails
Returns the connection pool size for this connection.- Specified by:
poolSize
in 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
-