Interface ConnectionDetails

All Known Implementing Classes:
OracleConnectionDetails, PostgresConnectionDetails

public interface ConnectionDetails
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the database.
    Returns a ConnectionDetails instance from the input options.
    Returns the host address for the connection.
    Returns the connection credentials password.
    int
    Returns the connection pool size for this connection.
    int
    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.
    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

      static ConnectionDetails fromOptions(DbOptions opts)
      Returns a ConnectionDetails instance from the input options.