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 |
---|---|
PageOutput |
open(TaskSource taskSource,
Schema inputSchema,
Schema outputSchema,
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(ConfigSource config,
Schema inputSchema,
FilterPlugin.Control control)
Processes the entire filtering transaction.
|
void transaction(ConfigSource config, 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 corePageOutput open(TaskSource taskSource, Schema inputSchema, Schema outputSchema, 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