embulk-standards/src/main/java/org/embulk/standards/StandardPluginModule.java in embulk-0.6.20 vs embulk-standards/src/main/java/org/embulk/standards/StandardPluginModule.java in embulk-0.6.21
- old
+ new
@@ -3,10 +3,11 @@
import com.google.common.base.Preconditions;
import com.google.inject.Binder;
import com.google.inject.Module;
import com.google.inject.name.Names;
import com.google.inject.multibindings.Multibinder;
+import org.embulk.spi.FilterPlugin;
import org.embulk.spi.FormatterPlugin;
import org.embulk.spi.InputPlugin;
import org.embulk.spi.OutputPlugin;
import org.embulk.spi.ParserPlugin;
import org.embulk.spi.DecoderPlugin;
@@ -41,9 +42,12 @@
// formatter plugins
registerPluginTo(binder, FormatterPlugin.class, "csv", CsvFormatterPlugin.class);
// file encoder plugins
registerPluginTo(binder, EncoderPlugin.class, "gzip", GzipFileEncoderPlugin.class);
+
+ // filter plugins
+ registerPluginTo(binder, FilterPlugin.class, "rename", RenameFilterPlugin.class);
// default guess plugins
registerDefaultGuessPluginTo(binder, new PluginType("gzip"));
registerDefaultGuessPluginTo(binder, new PluginType("csv"));
// charset and newline guess plugins are loaded and invoked by CsvGuessPlugin