Updated on 2024-06-03 GMT+08:00

ChainedStreamBuilder

ChainedStreamBuilder is an API class provided by the GaussDB JDBC driver. It is used to build replication streams.

Inheritance Relationship of ChainedStreamBuilder

ChainedStreamBuilder is a logical replication API. Its implementation class is ReplicationStreamBuilder, which is in the com.huawei.gaussdb.jdbc.replication.fluent package. The declaration of the class is as follows:

public class ReplicationStreamBuilder implements ChainedStreamBuilder

Constructor Method

public ReplicationStreamBuilder(final BaseConnection connection)

Common Methods

Table 1 Common methods of ReplicationStreamBuilder

Return Value

Method

Description

throws

ChainedLogicalStreamBuilder

logical()

Creates a logical replication stream.

-

ChainedPhysicalStreamBuilder

physical()

Creates a physical replication stream.

-