public abstract class ReplicationSlotRequest extends Object
Use logical() to configure a logical replication slot and physical() to configure a physical one.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReplicationSlotRequest.LogicalSlotRequestBuilder
Fluent builder interface to configure a logical replication slot.
|
static interface |
ReplicationSlotRequest.LogicalSlotRequestBuilderStep1
Fluent builder interface to configure the slot name for a logical replication slot.
|
static interface |
ReplicationSlotRequest.LogicalSlotRequestBuilderStep2 |
static interface |
ReplicationSlotRequest.PhysicalSlotRequestBuilder
Fluent builder interface to configure a physical replication slot.
|
static interface |
ReplicationSlotRequest.PhysicalSlotRequestBuilderStep1
Fluent builder interface to configure the slot name for a physical replication slot.
|
static interface |
ReplicationSlotRequest.WithOutputPlugin
Fluent builder interface fragment to associate the builder with an output plugin.
|
static interface |
ReplicationSlotRequest.WithSlotName
Fluent builder interface fragment to associate the builder with a slot name.
|
static interface |
ReplicationSlotRequest.WithTemporary
Fluent builder interface fragment to associate the builder with the temporary option.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
asSQL()
Renders this request as SQL.
|
ReplicationType |
getReplicationType()
Returns the replication type of the slot,
PHYSICAL or LOGICAL. |
static ReplicationSlotRequest.LogicalSlotRequestBuilderStep1 |
logical()
Create a new builder to configure a logical
ReplicationSlotRequest. |
static ReplicationSlotRequest.PhysicalSlotRequestBuilderStep1 |
physical()
Create a new builder to configure a physical
ReplicationSlotRequest. |
public static ReplicationSlotRequest.LogicalSlotRequestBuilderStep1 logical()
ReplicationSlotRequest.ReplicationSlotRequest.public static ReplicationSlotRequest.PhysicalSlotRequestBuilderStep1 physical()
ReplicationSlotRequest.ReplicationSlotRequest.public abstract String asSQL()
public ReplicationType getReplicationType()
PHYSICAL or LOGICAL.ReplicationType, PHYSICAL or LOGICALCopyright © 2024. All rights reserved.