ChainedCommonStreamBuilder
ChainedCommonStreamBuilder is an API class provided by the GaussDB JDBC driver. It is used to specify common parameters for logical and physical replication.
Inheritance Relationship of ChainedCommonStreamBuilder
ChainedCommonStreamBuilder is an API for logical replication. The implementation abstract class is AbstractCreateSlotBuilder. The inheritance class is LogicalCreateSlotBuilder which is in the com.huawei.gaussdb.jdbc.replication.fluent.logical package. The declaration of the class is as follows:
public class LogicalCreateSlotBuilder extends AbstractCreateSlotBuilder<ChainedLogicalCreateSlotBuilder> implements ChainedLogicalCreateSlotBuilder
Constructor Method
public LogicalCreateSlotBuilder(BaseConnection connection)
Common Methods
Return Value |
Method |
Description |
throws |
---|---|---|---|
T |
withSlotName(String slotName) |
Specifies the name of a replication slot. |
- |
ChainedLogicalCreateSlotBuilder |
withOutputPlugin(String outputPlugin) |
Plug-in name. Currently, mppdb_decoding is supported. |
- |
void |
make() |
Creates a slot with the specified parameters in the database. |
SQLException |
ChainedLogicalCreateSlotBuilder |
self() |
Returns the implementation of ChainedLogicalCreateSlotBuilder. |
- |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot