public static class RowSimilarityJob.CountObservationsMapper extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.NullWritable,VectorWritable>
Constructor and Description |
---|
CountObservationsMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context ctx) |
protected void |
map(org.apache.hadoop.io.IntWritable rowIndex,
VectorWritable rowVectorWritable,
org.apache.hadoop.mapreduce.Mapper.Context ctx) |
protected void map(org.apache.hadoop.io.IntWritable rowIndex, VectorWritable rowVectorWritable, org.apache.hadoop.mapreduce.Mapper.Context ctx) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.NullWritable,VectorWritable>
IOException
InterruptedException
protected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context ctx) throws IOException, InterruptedException
cleanup
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.NullWritable,VectorWritable>
IOException
InterruptedException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.