Sha256: efdc6d3917bc78bfeddc990f031991da9b985a03c3e24ac382b9cc344034f6f6

Contents?: true

Size: 876 Bytes

Versions: 3

Compression:

Stored size: 876 Bytes

Contents

package org.embulk.spi;

import java.util.List;
import org.embulk.config.TaskSource;
import org.embulk.config.ConfigSource;
import org.embulk.config.NextConfig;
import org.embulk.config.CommitReport;

public interface OutputPlugin
{
    public interface Control
    {
        public List<CommitReport> run(TaskSource taskSource);
    }

    public NextConfig transaction(ConfigSource config,
            Schema schema, int processorCount,
            OutputPlugin.Control control);

    public NextConfig resume(TaskSource taskSource,
            Schema schema, int processorCount,
            OutputPlugin.Control control);

    public void cleanup(TaskSource taskSource,
            Schema schema, int processorCount,
            List<CommitReport> successCommitReports);

    public TransactionalPageOutput open(TaskSource taskSource, Schema schema, int processorIndex);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
embulk-0.3.2 embulk-core/src/main/java/org/embulk/spi/OutputPlugin.java
embulk-0.3.1 embulk-core/src/main/java/org/embulk/spi/OutputPlugin.java
embulk-0.3.0 embulk-core/src/main/java/org/embulk/spi/OutputPlugin.java