| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private final PGStream | |
| private final QueryExecutor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private String | createStartLogicalQuery(LogicalReplicationOptions options)
START_REPLICATION SLOT slot_name LOGICAL XXX/XXX [ ( option_name [option_value] [, ... |
| private String | createStartPhysicalQuery(PhysicalReplicationOptions options)
START_REPLICATION [SLOT slot_name] [PHYSICAL] XXX/XXX. |
| private PGReplicationStream | |
| public PGReplicationStream | startLogical(LogicalReplicationOptions
not null options for logical replication stream options)Implements org.
|
| public PGReplicationStream | startPhysical(PhysicalReplicationOptions
not null options for physical replication stream options)Implements org.
|
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| pgStream | back to summary |
|---|---|
| private final PGStream pgStream | |
| queryExecutor | back to summary |
|---|---|
| private final QueryExecutor queryExecutor | |
| V3ReplicationProtocol | back to summary |
|---|---|
| public V3ReplicationProtocol(QueryExecutor queryExecutor, PGStream pgStream) | |
| configureSocketTimeout | back to summary |
|---|---|
| private void configureSocketTimeout(CommonOptions options) throws PSQLException | |
| createStartLogicalQuery | back to summary |
|---|---|
| private String createStartLogicalQuery(LogicalReplicationOptions options) START_REPLICATION SLOT slot_name LOGICAL XXX/XXX [ ( option_name [option_value] [, ... ] ) ] | |
| createStartPhysicalQuery | back to summary |
|---|---|
| private String createStartPhysicalQuery(PhysicalReplicationOptions options) START_REPLICATION [SLOT slot_name] [PHYSICAL] XXX/XXX. | |
| initializeReplication | back to summary |
|---|---|
| private PGReplicationStream initializeReplication(String query, CommonOptions options, ReplicationType replicationType) throws SQLException | |
| startLogical | back to summary |
|---|---|
| public PGReplicationStream startLogical(LogicalReplicationOptions options) throws SQLException Implements org.
| |
| startPhysical | back to summary |
|---|---|
| public PGReplicationStream startPhysical(PhysicalReplicationOptions options) throws SQLException Implements org.
| |