public interface EncoderPlugin
It converts a byte sequence FileOutput
to another byte sequence FileOutput
.
Modifier and Type | Interface and Description |
---|---|
static interface |
EncoderPlugin.Control
A controller of the following tasks provided from the Embulk core.
|
Modifier and Type | Method and Description |
---|---|
org.embulk.spi.FileOutput |
open(org.embulk.config.TaskSource taskSource,
org.embulk.spi.FileOutput fileOutput)
Processes each encoding task.
|
void |
transaction(org.embulk.config.ConfigSource config,
EncoderPlugin.Control control)
Processes the entire encoding transaction.
|
void transaction(org.embulk.config.ConfigSource config, EncoderPlugin.Control control)
config
- a configuration for the encoder plugin given from a usercontrol
- a controller of the following tasks provided from the Embulk coreorg.embulk.spi.FileOutput open(org.embulk.config.TaskSource taskSource, org.embulk.spi.FileOutput fileOutput)
taskSource
- a configuration processed for the task from ConfigSource
fileOutput
- an output from a Formatter Plugin, or another Encoder Plugin