public class IndexInstancesMapper extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
Constructor and Description |
---|
IndexInstancesMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
map(org.apache.hadoop.io.Text labelText,
VectorWritable instance,
org.apache.hadoop.mapreduce.Mapper.Context ctx) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context ctx) |
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context ctx) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
IOException
InterruptedException
protected void map(org.apache.hadoop.io.Text labelText, VectorWritable instance, org.apache.hadoop.mapreduce.Mapper.Context ctx) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
IOException
InterruptedException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.