Updated on 2023-10-23 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 org.postgresql.replication.fluent package. The declaration of the class is as follows:

public class ReplicationStreamBuilder implements ChainedStreamBuilder

Constructor

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.

-