Interface ConnectionDetails
- All Known Implementing Classes:
OracleConnectionDetails
,PostgresConnectionDetails
public interface ConnectionDetails
-
Method Summary
Modifier and TypeMethodDescriptiondbName()
Returns the name of the database.static ConnectionDetails
fromOptions
(DbOptions opts) Returns aConnectionDetails
instance from the input options.host()
Returns the host address for the connection.password()
Returns the connection credentials password.int
poolSize()
Returns the connection pool size for this connection.int
port()
Returns the host port for the connection.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.user()
Returns the connection credentials username.
-
Method Details
-
host
String host()Returns the host address for the connection. -
port
int port()Returns the host port for the connection. -
user
String user()Returns the connection credentials username. -
password
String password()Returns the connection credentials password. -
dbName
String dbName()Returns the name of the database. -
toJdbcString
String toJdbcString()Returns a JDBC connection string based on the current connection details. -
poolSize
int poolSize()Returns the connection pool size for this connection. -
toFgpUtilConfig
org.gusdb.fgputil.db.pool.ConnectionPoolConfig toFgpUtilConfig()Returns an FgpUtil DatabaseInstance configuration based on the current connection details. -
fromOptions
Returns aConnectionDetails
instance from the input options.
-