All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.postgresql.replication.fluent.logical.LogicalReplicationOptions Maven / Gradle / Ivy

/*
 * 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy