org.postgresql.replication.fluent.logical.LogicalReplicationOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdbc-yugabytedb Show documentation
Show all versions of jdbc-yugabytedb Show documentation
Java JDBC 4.2 (JRE 8+) driver for YugaByte SQL database
/*
* Copyright (c) 2016, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package org.postgresql.replication.fluent.logical;
import org.postgresql.replication.fluent.CommonOptions;
import org.checkerframework.checker.nullness.qual.Nullable;
import java.util.Properties;
public interface LogicalReplicationOptions extends CommonOptions {
/**
* Required parameter for logical replication.
*
* @return not null logical replication slot name that already exists on server and free.
*/
@Nullable String getSlotName();
/**
* Parameters for output plugin. Parameters will be set to output plugin that register for
* specified replication slot name.
*
* @return list options that will be pass to output_plugin for that was create replication slot
*/
Properties getSlotOptions();
}