Interface ReplicationRequest.WithStartPosition
- All Known Subinterfaces:
ReplicationRequest.LogicalReplicationRequestBuilder, ReplicationRequest.LogicalReplicationStep2, ReplicationRequest.PhysicalReplicationRequestBuilder, ReplicationRequest.PhysicalReplicationStep2
- Enclosing class:
ReplicationRequest
public static interface ReplicationRequest.WithStartPosition
-
Method Summary
Modifier and TypeMethodDescriptionSpecify start position from which backend will start stream changes.
-
Method Details
-
startPosition
Specify start position from which backend will start stream changes. If parameter will not specify, streaming starts from restart_lsn. For more details see pg_replication_slots description.- Parameters:
lsn- not null position from which need start replicate changes- Returns:
thisbuilder- Throws:
IllegalArgumentException- ifslotNameisnull
-