public interface FilterPlugin
A Filter Plugin converts a schema and a sequence of data records in PageOutput
from an Input Plugin,
or another Filter Plugin, into another schema and another sequence of data records in PageOutput
for an
Output Plugin, or another Filter Plugin.
Modifier and Type | Interface and Description |
---|---|
static interface |
FilterPlugin.Control
A controller of the following tasks provided from the Embulk core.
|
Modifier and Type | Method and Description |
---|---|
org.embulk.spi.PageOutput |
open(org.embulk.config.TaskSource taskSource,
org.embulk.spi.Schema inputSchema,
org.embulk.spi.Schema outputSchema,
org.embulk.spi.PageOutput output)
Opens a
PageOutput instance that receives Page s from an Input Plugin, or
another Filter Plugin, and writes converted output into PageOutput output in the parameter
list for an Output Plugin, or another Filter Plugin. |
void |
transaction(org.embulk.config.ConfigSource config,
org.embulk.spi.Schema inputSchema,
FilterPlugin.Control control)
Processes the entire filtering transaction.
|
void transaction(org.embulk.config.ConfigSource config, org.embulk.spi.Schema inputSchema, FilterPlugin.Control control)
config
- a configuration for the Filter Plugin given from a userinputSchema
- Schema
of the input for the filtercontrol
- a controller of the following tasks provided from the Embulk coreorg.embulk.spi.PageOutput open(org.embulk.config.TaskSource taskSource, org.embulk.spi.Schema inputSchema, org.embulk.spi.Schema outputSchema, org.embulk.spi.PageOutput output)
PageOutput
instance that receives Page
s from an Input Plugin, or
another Filter Plugin, and writes converted output into PageOutput
output
in the parameter
list for an Output Plugin, or another Filter Plugin.taskSource
- a configuration processed for the task from ConfigSource
inputSchema
- Schema
of the input for the filteroutputSchema
- Schema
of the output from the filteroutput
- PageOutput
to write converted input for an Output Plugin, or another Filter PluginPageOutput
that receives Page
s from an Input
Plugin, or another Filter Plugin, and writes converted output into PageOutput
output
in the parameter list for an Output Plugin, or another Filter Plugin