public class StringValueFilterCompute extends SparkCompute<co.cask.cdap.api.data.format.StructuredRecord,co.cask.cdap.api.data.format.StructuredRecord>
| Modifier and Type | Class and Description |
|---|---|
static class |
StringValueFilterCompute.Conf
Config for the plugin.
|
| Modifier and Type | Field and Description |
|---|---|
static PluginClass |
PLUGIN_CLASS |
PLUGIN_TYPE| Constructor and Description |
|---|
StringValueFilterCompute(StringValueFilterCompute.Conf conf) |
| Modifier and Type | Method and Description |
|---|---|
static ETLPlugin |
getPlugin(String field,
String value) |
org.apache.spark.api.java.JavaRDD<co.cask.cdap.api.data.format.StructuredRecord> |
transform(SparkExecutionPluginContext context,
org.apache.spark.api.java.JavaRDD<co.cask.cdap.api.data.format.StructuredRecord> input) |
configurePipeline, initializepublic static final PluginClass PLUGIN_CLASS
public StringValueFilterCompute(StringValueFilterCompute.Conf conf)
public org.apache.spark.api.java.JavaRDD<co.cask.cdap.api.data.format.StructuredRecord> transform(SparkExecutionPluginContext context, org.apache.spark.api.java.JavaRDD<co.cask.cdap.api.data.format.StructuredRecord> input) throws Exception
transform in class SparkCompute<co.cask.cdap.api.data.format.StructuredRecord,co.cask.cdap.api.data.format.StructuredRecord>ExceptionCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.