下面列出了怎么用org.apache.hadoop.mapreduce.lib.join.TupleWritable的API类实例代码及写法,或者点击链接到github查看源代码。
@Override
protected void map(Text key, TupleWritable value, Context context)
throws IOException, InterruptedException {
context.write(key,
new Text(StringUtils.join(value.get(0), value.get(1))));
}