List of usage examples for org.apache.hadoop.mapreduce.lib.join TupleWritable get
public Writable get(int i)
From source file:mapreduce.MapSideMapper.java
@Override public void map(Text key, TupleWritable value, Context context) throws IOException, InterruptedException { LicenseNameWritable name = (LicenseNameWritable) value.get(0); LicenseTypeWritable type = (LicenseTypeWritable) value.get(1); _outValue.set(type.get_liecenseType()); _keyOut.set(name.get_name());//w ww .j a v a 2 s .c o m context.write(_keyOut, _outValue); }