public class TFPartialVectorReducer extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,StringTuple,org.apache.hadoop.io.Text,VectorWritable>
| Constructor and Description |
|---|
TFPartialVectorReducer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
reduce(org.apache.hadoop.io.Text key,
Iterable<StringTuple> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context) |
protected void reduce(org.apache.hadoop.io.Text key,
Iterable<StringTuple> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
reduce in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,StringTuple,org.apache.hadoop.io.Text,VectorWritable>IOExceptionInterruptedExceptionprotected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,StringTuple,org.apache.hadoop.io.Text,VectorWritable>IOExceptionInterruptedExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.