public class CachingCVB0PerplexityMapper extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable>
| Modifier and Type | Class and Description |
|---|---|
static class |
CachingCVB0PerplexityMapper.Counters
Hadoop counters for
CachingCVB0PerplexityMapper, to aid in debugging. |
| Constructor and Description |
|---|
CachingCVB0PerplexityMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
map(org.apache.hadoop.io.IntWritable docId,
VectorWritable document,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
setup in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable>IOExceptionInterruptedExceptionprotected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
cleanup in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable>IOExceptionInterruptedExceptionpublic void map(org.apache.hadoop.io.IntWritable docId,
VectorWritable document,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.DoubleWritable>IOExceptionInterruptedExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.