public interface FileInputPlugin
It reads a byte sequence into TransactionalFileInput in a transaction.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FileInputPlugin.Control
A controller of the following tasks provided from the Embulk core.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(org.embulk.config.TaskSource taskSource,
int taskCount,
List<org.embulk.config.TaskReport> successTaskReports)
Cleans up resources used in the transaction.
|
org.embulk.spi.TransactionalFileInput |
open(org.embulk.config.TaskSource taskSource,
int taskIndex)
Processes each file input task.
|
org.embulk.config.ConfigDiff |
resume(org.embulk.config.TaskSource taskSource,
int taskCount,
FileInputPlugin.Control control)
Resumes a file input transaction.
|
org.embulk.config.ConfigDiff |
transaction(org.embulk.config.ConfigSource config,
FileInputPlugin.Control control)
Processes the entire file input transaction.
|
org.embulk.config.ConfigDiff transaction(org.embulk.config.ConfigSource config,
FileInputPlugin.Control control)
config - a configuration for the File Input Plugin given from a usercontrol - a controller of the following tasks provided from the Embulk coreConfigDiff to represent the difference the next incremental runorg.embulk.config.ConfigDiff resume(org.embulk.config.TaskSource taskSource,
int taskCount,
FileInputPlugin.Control control)
taskSource - a configuration processed for the task from ConfigSourcetaskCount - the number of taskscontrol - a controller of the following tasks provided from the Embulk coreConfigDiff to represent the difference the next incremental runvoid cleanup(org.embulk.config.TaskSource taskSource,
int taskCount,
List<org.embulk.config.TaskReport> successTaskReports)
taskSource - a configuration processed for the task from ConfigSourcetaskCount - the number of taskssuccessTaskReports - TaskReports of successful tasksorg.embulk.spi.TransactionalFileInput open(org.embulk.config.TaskSource taskSource,
int taskIndex)
taskSource - a configuration processed for the task from ConfigSourcetaskIndex - the index number of the task