public class CSVToArffHeaderHadoopReducer
extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CHART_HEIGHT_KEY
key for specifying a chart height to use
|
static java.lang.String |
CHART_WIDTH_KEY
key for specifying a chart width to use
|
static java.lang.String |
CSV_TO_ARFF_HEADER_WRITE_PATH
Key for the property that holds the write path for the output header file
|
static int |
DEFAULT_CHART_HEIGHT
Default height for charts
|
static int |
DEFAULT_CHART_WIDTH
Default width for charts
|
| Constructor and Description |
|---|
CSVToArffHeaderHadoopReducer() |
public static final java.lang.String CHART_WIDTH_KEY
public static final java.lang.String CHART_HEIGHT_KEY
public static final int DEFAULT_CHART_WIDTH
public static final int DEFAULT_CHART_HEIGHT
public static java.lang.String CSV_TO_ARFF_HEADER_WRITE_PATH
public void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws java.io.IOException
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>java.io.IOExceptionpublic void reduce(org.apache.hadoop.io.Text key,
java.lang.Iterable<org.apache.hadoop.io.BytesWritable> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws java.io.IOException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,org.apache.hadoop.io.BytesWritable,org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>java.io.IOException