| Package | Description |
|---|---|
| org.postgresql | |
| org.postgresql.clusterhealthy | |
| org.postgresql.core | |
| org.postgresql.core.v3 | |
| org.postgresql.core.v3.replication | |
| org.postgresql.jdbc |
| Modifier and Type | Method and Description |
|---|---|
static List<QueryExecutor> |
GlobalConnectionTracker.getConnections(String hostSpec)
get all existing connections under the specified host.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
GlobalConnectionTracker.possessConnectionReference(QueryExecutor queryExecutor,
Properties props)
Store the actual query executor and connection host spec.
|
static void |
GlobalConnectionTracker.releaseConnectionReference(QueryExecutor queryExecutor,
Properties props)
Clear the reference when the connection is closed.
|
static void |
QueryCNListUtils.runRereshCNListQueryies(QueryExecutor queryExecutor,
Properties info)
Refresh the global CN list using the established connections at the upper layer.
|
| Modifier and Type | Method and Description |
|---|---|
QueryExecutor |
ClusterHeartBeat.getQueryExecutor(HostSpec hostSpec,
Set<Properties> propSet)
the node probes the activity by reflecting the tryConnect() method.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ClusterHeartBeat.nodeRoleIsMaster(QueryExecutor queryExecutor)
Check whether the node is the primary node
|
| Modifier and Type | Class and Description |
|---|---|
class |
QueryExecutorBase |
| Modifier and Type | Method and Description |
|---|---|
QueryExecutor |
BaseConnection.getQueryExecutor()
Get the QueryExecutor implementation for this connection.
|
static QueryExecutor |
ConnectionFactory.openConnection(HostSpec[] hostSpecs,
String user,
String database,
Properties info)
Establishes and initializes a new connection.
|
abstract QueryExecutor |
ConnectionFactory.openConnectionImpl(HostSpec[] hostSpecs,
String user,
String database,
Properties info)
Implementation of
ConnectionFactory.openConnection(org.postgresql.util.HostSpec[], java.lang.String, java.lang.String, java.util.Properties) for a particular protocol version. |
| Modifier and Type | Method and Description |
|---|---|
static byte[][] |
SetupQueryRunner.run(QueryExecutor executor,
String queryString,
boolean wantResults) |
static List<byte[][]> |
SetupQueryRunner.runForList(QueryExecutor executor,
String queryString,
boolean wantResults) |
| Modifier and Type | Class and Description |
|---|---|
class |
QueryExecutorImpl
QueryExecutor implementation for the V3 protocol.
|
| Modifier and Type | Method and Description |
|---|---|
QueryExecutor |
ConnectionFactoryImpl.openConnectionImpl(HostSpec[] hostSpecs,
String user,
String database,
Properties info) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ConnectionFactoryImpl.isMaster(QueryExecutor queryExecutor) |
| Constructor and Description |
|---|
V3ReplicationProtocol(QueryExecutor queryExecutor,
PGStream pgStream) |
| Modifier and Type | Method and Description |
|---|---|
QueryExecutor |
PgConnection.getQueryExecutor() |
Copyright © 2023 openGauss. All rights reserved.