use of org.embulk.spi.OutputPlugin in project embulk by embulk.
the class Executors method process.
public static void process(ExecSession exec, ProcessTask task, int taskIndex, ProcessStateCallback callback) {
InputPlugin inputPlugin = exec.newPlugin(InputPlugin.class, task.getInputPluginType());
List<FilterPlugin> filterPlugins = Filters.newFilterPlugins(exec, task.getFilterPluginTypes());
OutputPlugin outputPlugin = exec.newPlugin(OutputPlugin.class, task.getOutputPluginType());
// TODO assert task.getExecutorSchema().equals task.getOutputSchema()
process(exec, taskIndex, inputPlugin, task.getInputSchema(), task.getInputTaskSource(), filterPlugins, task.getFilterSchemas(), task.getFilterTaskSources(), outputPlugin, task.getOutputSchema(), task.getOutputTaskSource(), callback);
}
Aggregations