public class V3ReplicationProtocol extends Object implements ReplicationProtocol
Constructor and Description |
---|
V3ReplicationProtocol(QueryExecutor queryExecutor,
PGStream pgStream) |
Modifier and Type | Method and Description |
---|---|
PGReplicationStream |
startLogical(LogicalReplicationOptions options) |
PGReplicationStream |
startPhysical(PhysicalReplicationOptions options) |
public V3ReplicationProtocol(QueryExecutor queryExecutor, PGStream pgStream)
public PGReplicationStream startLogical(LogicalReplicationOptions options) throws SQLException
startLogical
in interface ReplicationProtocol
options
- not null options for logical replication streamSQLException
- on errorpublic PGReplicationStream startPhysical(PhysicalReplicationOptions options) throws SQLException
startPhysical
in interface ReplicationProtocol
options
- not null options for physical replication streamSQLException
- on errorCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.