gtid/GtidSetFactory.java

debezium · debezium-connector-binlog/src/main/java/io/debezium/connector/binlog/gtid/GtidSetFactory.java · java · Apache-2.0
integration, Integration / API

Interface for creating GTID sets used in database replication connectors.

// Source: https://github.com/debezium/debezium | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright Debezium Authors.
 *
 * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
 */
package io.debezium.connector.binlog.gtid;

/**
 * Contract for a factory that creates global transaction identifier sets.
 *
 * @author Chris Cranford
 */
public interface GtidSetFactory {
    /**
     * Constructs a {@link GtidSet} from a string value.
     *
     * @param gtid the global transaction identifier, should not be null
     * @return the constructed global transaction identifier set
     */
    GtidSet createGtidSet(Str

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key