1 2 3 4 package net.nutch.mapReduce; 5 6 import java.io.IOException ; 7 8 import net.nutch.io.Writable; 9 import net.nutch.io.WritableComparable; 10 11 13 public class DefaultMapper implements Mapper { 14 15 17 public void map(WritableComparable key, Writable val, 18 OutputCollector results) throws IOException { 19 results.collect(key, val); 20 } 21 22 } 23 | Popular Tags |