Class PostgresConnection
-
- All Implemented Interfaces:
public final class PostgresConnection
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringurlprivate final Stringschemaprivate final Stringusernameprivate final Stringpasswordprivate final Stringsslmodeprivate final Stringsslcertprivate final Stringsslkeyprivate final Stringsslrootcertprivate final IntegerparallelTransactions
-
Method Summary
Modifier and Type Method Description final StringgetUrl()The database URL in JDBC format. final StringgetSchema()The name of the database to use. final StringgetUsername()The username to use for authentication. final StringgetPassword()The password to use for authentication. final StringgetSslmode()The SSL mode to use, one of "disable", "allow", "prefer", "require", "verify-ca" or "verify-full". final StringgetSslcert()The full path of the certificate file. final StringgetSslkey()The full path of the key file. final StringgetSslrootcert()The full path of the root certificate file. final IntegergetParallelTransactions()The number of parallel transactions to use for the storage dispatcher. -
-
Method Detail
-
getUsername
final String getUsername()
The username to use for authentication.
-
getPassword
final String getPassword()
The password to use for authentication.
-
getSslmode
final String getSslmode()
The SSL mode to use, one of "disable", "allow", "prefer", "require", "verify-ca" or "verify-full". See: https://jdbc.postgresql.org/documentation/ssl/#configuring-the-client
-
getSslcert
final String getSslcert()
The full path of the certificate file. See: https://jdbc.postgresql.org/documentation/head/connect.html
-
getSslkey
final String getSslkey()
The full path of the key file. See: https://jdbc.postgresql.org/documentation/head/connect.html
-
getSslrootcert
final String getSslrootcert()
The full path of the root certificate file. See: https://jdbc.postgresql.org/documentation/head/connect.html
-
getParallelTransactions
final Integer getParallelTransactions()
The number of parallel transactions to use for the storage dispatcher.
-
-
-
-