use of co.cask.cdap.api.plugin.PluginPropertyField in project cdap by caskdata.
the class NullFieldSplitterTransform method getPluginClass.
private static PluginClass getPluginClass() {
Map<String, PluginPropertyField> properties = new HashMap<>();
properties.put("field", new PluginPropertyField("field", "", "string", true, true));
return new PluginClass(SplitterTransform.PLUGIN_TYPE, "NullFieldSplitter", "", NullFieldSplitterTransform.class.getName(), "config", properties);
}
use of co.cask.cdap.api.plugin.PluginPropertyField in project cdap by caskdata.
the class StringValueFilterTransform method getPluginClass.
private static PluginClass getPluginClass() {
Map<String, PluginPropertyField> properties = new HashMap<>();
properties.put("field", new PluginPropertyField("field", "", "string", true, true));
properties.put("value", new PluginPropertyField("value", "", "string", true, true));
return new PluginClass(Transform.PLUGIN_TYPE, "StringValueFilter", "", StringValueFilterTransform.class.getName(), "config", properties);
}
use of co.cask.cdap.api.plugin.PluginPropertyField in project cdap by caskdata.
the class SleepTransform method getPluginClass.
private static PluginClass getPluginClass() {
Map<String, PluginPropertyField> properties = new HashMap<>();
properties.put("millis", new PluginPropertyField("millis", "", "long", false, false));
return new PluginClass(Transform.PLUGIN_TYPE, "Sleep", "", SleepTransform.class.getName(), "config", properties);
}
use of co.cask.cdap.api.plugin.PluginPropertyField in project cdap by caskdata.
the class Window method getPluginClass.
private static PluginClass getPluginClass() {
Map<String, PluginPropertyField> properties = new HashMap<>();
properties.put("width", new PluginPropertyField("width", "", "long", true, false));
properties.put("slideInterval", new PluginPropertyField("slideInterval", "", "long", true, false));
return new PluginClass(Windower.PLUGIN_TYPE, "Window", "", Window.class.getName(), "conf", properties);
}
use of co.cask.cdap.api.plugin.PluginPropertyField in project cdap by caskdata.
the class DropNullTransform method getPluginClass.
private static PluginClass getPluginClass() {
Map<String, PluginPropertyField> properties = new HashMap<>();
properties.put("field", new PluginPropertyField("field", "", "string", true, false));
return new PluginClass(Transform.PLUGIN_TYPE, "DropField", "", DropNullTransform.class.getName(), "config", properties);
}
Aggregations