| Package | Description |
|---|---|
| org.postgresql.jdbc | |
| org.postgresql.quickautobalance |
| Modifier and Type | Field and Description |
|---|---|
protected PgConnection |
PgDatabaseMetaData.connection |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
ClientLogicImpl.linkClientLogic(String databaseName,
PgConnection jdbcConn)
Link between the Java PgConnection and the PGConn Client logic object
|
void |
ClientLogic.linkClientLogic(String databaseName,
PgConnection jdbcConn)
Link the client logic JNI & C side to the PgConnection instance
|
| Constructor and Description |
|---|
PgDatabaseMetaData(PgConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
PgConnection |
ConnectionInfo.getPgConnection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DataNode.closeConnection(PgConnection pgConnection)
Close connection.
|
ConnectionInfo |
DataNode.getConnectionInfo(PgConnection pgConnection)
Get connection info if the connection exits.
|
ConnectionInfo |
Cluster.getConnectionInfo(PgConnection connection)
Get connection info of the connection if exists.
|
static void |
LoadBalanceHeartBeating.setConnection(PgConnection pgConnection,
Properties props)
Set connection into connection manager.
|
boolean |
ConnectionManager.setConnection(PgConnection pgConnection,
Properties properties)
Cache this connection, if it's configured with autoBalance = "leastconn".
|
void |
Cluster.setConnection(PgConnection pgConnection,
Properties properties)
Add a new connection.
|
void |
DataNode.setConnection(PgConnection pgConnection,
Properties properties,
HostSpec hostSpec)
Set connection.
|
void |
DataNode.setConnectionState(PgConnection pgConnection,
StatementCancelState state)
Set connection state.
|
void |
ConnectionManager.setConnectionState(PgConnection pgConnection,
StatementCancelState state)
Set connection state of cached connections if it exists.
|
void |
Cluster.setConnectionState(PgConnection pgConnection,
StatementCancelState state)
set connection state of cached connections if it exists.
|
| Constructor and Description |
|---|
ConnectionInfo(PgConnection pgConnection,
Properties properties,
HostSpec hostSpec) |
Copyright © 2023 openGauss. All rights reserved.