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
Method |
Return Type |
Description |
Throws |
---|---|---|---|
withSlotName(String slotName) |
T |
Specifies the name of a replication slot. |
- |
withOutputPlugin(String outputPlugin) |
ChainedLogicalCreateSlotBuilder |
Specifies a plug-in name. Currently, mppdb_decoding, sql_decoding, parallel_binary_decoding, parallel_json_decoding, and parallel_text_decoding are supported. mppdb_decoding: a decoding output format. After this value is set, the output content is in JSON format. The output result contains the attribute information and attribute values of the related data. sql_decoding, parallel_binary_decoding, parallel_json_decoding and parallel_text_decoding are output in SQL, binary, JSON, and text format respectively based on the plug-in format. |
- |
make() |
void |
Creates a slot with the specified parameters in the database. |
SQLException |
self() |
ChainedLogicalCreateSlotBuilder |
Returns the implementation of ChainedLogicalCreateSlotBuilder. |
- |

This API class does not support the unplanned ALT feature.
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