Interface ChainedLogicalStreamBuilder
- All Superinterfaces:
ChainedCommonStreamBuilder<ChainedLogicalStreamBuilder>
- All Known Implementing Classes:
LogicalStreamBuilder
public interface ChainedLogicalStreamBuilder
extends ChainedCommonStreamBuilder<ChainedLogicalStreamBuilder>
-
Method Summary
Modifier and TypeMethodDescriptionstart()
Open logical replication stream.withSlotOption
(String optionName, boolean optionValue) withSlotOption
(String optionName, int optionValue) withSlotOption
(String optionName, String optionValue) withSlotOptions
(Properties options) Methods inherited from interface org.postgresql.replication.fluent.ChainedCommonStreamBuilder
withSlotName, withStartPosition, withStatusInterval
-
Method Details
-
start
Open logical replication stream.- Returns:
- not null PGReplicationStream available for fetch data in logical form
- Throws:
SQLException
- if there are errors
-
withSlotOption
- Parameters:
optionName
- name of optionoptionValue
- boolean value- Returns:
- ChainedLogicalStreamBuilder
-
withSlotOption
- Parameters:
optionName
- name of optionoptionValue
- integer value- Returns:
- ChainedLogicalStreamBuilder
-
withSlotOption
- Parameters:
optionName
- name of optionoptionValue
- String value- Returns:
- ChainedLogicalStreamBuilder
-
withSlotOptions
- Parameters:
options
- properties- Returns:
- ChainedLogicalStreamBuilder
-