| Modifier and Type | Field and Description |
|---|---|
| private @Nullable String | |
| private static final Logger | |
| private @Nullable String | |
| private int[] | |
| private Properties | |
| private String[] | |
| private @Nullable String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Reference | Returns: reference using the appropriate object factoryGenerates a reference using the appropriate object factory. |
| public boolean | |
| public int | |
| public int | |
| public boolean | |
| public String | |
| public @Nullable String | |
| public @Nullable String | Returns: the class name to use for the Authentication Plugin. This can be null in which case the default password authentication plugin will be used
|
| public AutoSave | |
| public boolean | |
| public String | |
| public String | |
| public int | |
| public boolean | |
| public Connection | |
| public Connection | Returns: A valid database connection.user user, @Nullable String password password)Gets a connection to the PostgreSQL database. |
| public int | |
| public @Nullable String | |
| public int | Returns: database metadata cache fields size (number of fields cached per connection)
|
| public int | Returns: database metadata cache fields size (number of megabytes per connection)
|
| public @Nullable String | Returns: name of the PostgreSQL databaseGets the name of the PostgreSQL database, running on the server identified by the serverName property. |
| public int | |
| public abstract String | Returns: description of this DataSource-ish thingGets a description of this DataSource-ish thing. |
| public boolean | |
| public String | |
| public boolean | Returns: whether to group startup parameters or notThis is important in pool-by-transaction scenarios in order to make sure that all the statements reaches the same connection that is being initialized. |
| public String | |
| public @Nullable String | |
| public int | |
| public boolean | |
| public int | |
| public @Nullable String | |
| public boolean | |
| public @Nullable String | |
| public boolean | |
| public @Nullable String | |
| public @Nullable String | Returns: loggerFile in properties
Deprecated
Configure via java.util.logging
This property is no longer used by the driver and will be ignored. |
| public @Nullable String | Returns: loggerLevel in properties
Deprecated
Configure via java.util.logging
This property is no longer used by the driver and will be ignored. |
| public int | Returns: login timeoutImplements javax. Gets the maximum time in seconds that this data source can wait while attempting to connect to a database. |
| public boolean | |
| public boolean | |
| public @Nullable PrintWriter | getLogWriter()
Implements javax. This implementation don't use a LogWriter. |
| public @Nullable String | |
| public @Nullable String | |
| public Logger | getParentLogger()
Implements javax. Return the parent Logger of all the Loggers used by this data source. |
| public @Nullable String | Returns: password to connect with by defaultGets the password to connect with by default. |
| public int | Returns: The port, or 0 if the default port will be used.
Deprecated
use
getPortNumbers()
Gets the port which the PostgreSQL server is listening on for TCP/IP connections. |
| public int[] | Returns: The port(s), or 0 if the default port will be used.Gets the port(s) which the PostgreSQL server is listening on for TCP/IP connections. |
| public PreferQueryMode | |
| public int | Returns: prepared statement cache size (number of statements per connection)
|
| public int | Returns: prepared statement cache size (number of megabytes per connection)
|
| public int | |
| public @Nullable String | |
| public @Nullable String | |
| public int | |
| public boolean | |
| public boolean | |
| public String | |
| public int | |
| public int | |
| public Reference | getReference()
Implements javax. Retrieves the Reference of this object. |
| private static @Nullable String | |
| public @Nullable String | |
| public boolean | |
| public int | |
| public String | Returns: name of the host the PostgreSQL database is running on
Deprecated
use
getServerNames()
Gets the name of the host the PostgreSQL database is running on. |
| public String[] | Returns: name of the host(s) the PostgreSQL database is running onGets the name of the host(s) the PostgreSQL database is running on. |
| public @Nullable String | |
| public @Nullable String | |
| public int | |
| public boolean | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public int | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public @Nullable String | |
| public String | |
| public boolean | |
| public boolean | |
| public int | |
| public String | Returns: DriverManager URL from the other properties suppliedGenerates a |
| public String | Returns: DriverManager URL from the other properties suppliedGenerates a |
| public @Nullable String | |
| public boolean | |
| public String | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setAuthenticationPluginClassName(String
name of a class which implements className)org.
This class will be used to get the encoded bytes to be sent to the server as the
password to authenticate the user.
|
| public void | |
| public void | |
| public void | setBinaryTransferDisable(@Nullable String
list of OIDs that are not allowed to use binary transfer oidList)
|
| public void | setBinaryTransferEnable(@Nullable String
list of OIDs that are allowed to use binary transfer oidList)
|
| public void | |
| public void | setCleanupSavepoints(boolean
will cleanup savepoints after a successful transaction cleanupSavepoints)see PGProperty#CLEANUP_SAVEPOINTS |
| public void | |
| public void | |
| public void | |
| public void | setDatabaseMetadataCacheFields(int
database metadata cache fields size (number of fields cached per connection) cacheSize)
|
| public void | setDatabaseMetadataCacheFieldsMiB(int
database metadata cache fields size (number of megabytes per connection) cacheSize)
|
| public void | setDatabaseName(@Nullable String
name of the PostgreSQL database databaseName)Sets the name of the PostgreSQL database, running on the server identified by the serverName property. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setGroupStartupParameters(boolean
whether to group startup Parameters in a transaction or not groupStartupParameters)
|
| public void | |
| public void | |
| public void | |
| public void | setHideUnprivilegedObjects(boolean
boolean value to set the property in the properties collection hideUnprivileged)
|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setLoggerFile(@Nullable String
will be ignored loggerFile)
Deprecated
Configure via java.util.logging
This property is no longer used by the driver and will be ignored. |
| public void | setLoggerLevel(@Nullable String
loggerLevel to set, will be ignored loggerLevel)
Deprecated
Configure via java.util.logging
This property is no longer used by the driver and will be ignored. |
| public void | setLoginTimeout(int
login timeout loginTimeout)Implements javax. Sets the maximum time in seconds that this data source will wait while attempting to connect to a database. |
| public void | setLogServerErrorDetail(boolean
true if driver should include detail in server error messages enabled)
|
| public void | |
| public void | setLogWriter(@Nullable PrintWriter
Not used printWriter)Implements javax. This implementation don't use a LogWriter. |
| public void | |
| public void | setOptions(@Nullable String
string to set options to options)Set command line options for this connection |
| public void | setPassword(@Nullable String
password to connect with by default password)Sets the password to connect with by default. |
| public void | setPortNumber(int
port which the PostgreSQL server is listening on for TCP/IP portNumber)
Deprecated
use
setPortNumbers(int[])
Sets the port which the PostgreSQL server is listening on for TCP/IP connections. |
| public void | setPortNumbers(@Nullable int[]
port(s) which the PostgreSQL server is listening on for TCP/IP portNumbers)Sets the port(s) which the PostgreSQL server is listening on for TCP/IP connections. |
| public void | setPreferQueryMode(PreferQueryMode
extended, simple, extendedForPrepared, or extendedCacheEverything preferQueryMode)
|
| public void | setPreparedStatementCacheQueries(int
prepared statement cache size (number of statements per connection) cacheSize)
|
| public void | setPreparedStatementCacheSizeMiB(int
statement cache size (number of megabytes per connection) cacheSize)
|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setReplication(@Nullable String
set to 'database' for logical replication or 'true' for physical replication replication)
|
| public void | setReWriteBatchedInserts(boolean
boolean value to set the property in the properties collection reWrite)
|
| public void | |
| public void | setServerName(String
name of the host the PostgreSQL database is running on serverName)
Deprecated
use
setServerNames(String[])
Sets the name of the host the PostgreSQL database is running on. |
| public void | setServerNames(@Nullable @Nullable String[]
name of the host(s) the PostgreSQL database is running on serverNames)Sets the name of the host(s) the PostgreSQL database is running on. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void |