public interface DecoderPlugin
It converts a byte sequence FileInput
to another byte sequence FileInput
.
Modifier and Type | Interface and Description |
---|---|
static interface |
DecoderPlugin.Control
A controller of the following tasks provided from the Embulk core.
|
Modifier and Type | Method and Description |
---|---|
org.embulk.spi.FileInput |
open(org.embulk.config.TaskSource taskSource,
org.embulk.spi.FileInput fileInput)
Processes each decoding task.
|
void |
transaction(org.embulk.config.ConfigSource config,
DecoderPlugin.Control control)
Processes the entire decoding transaction.
|
void transaction(org.embulk.config.ConfigSource config, DecoderPlugin.Control control)
config
- a configuration for the decoder plugin given from a usercontrol
- a controller of the following tasks provided from the Embulk coreorg.embulk.spi.FileInput open(org.embulk.config.TaskSource taskSource, org.embulk.spi.FileInput fileInput)
taskSource
- a configuration processed for the task from ConfigSource
fileInput
- an input from a File Input Plugin, or another Decoder Plugin