net.nutch.mapReduce
Interface RecordWriter


public interface RecordWriter

Writes key/value pairs to an output file. Implemented by OutputFormat implementations.


Method Summary
 boolean next(Writable key, Writable value)
          Writes a key/value pair.
 

Method Detail

next

public boolean next(Writable key,
                    Writable value)
             throws IOException
Writes a key/value pair.

Parameters:
key - the key to write
value - the value to write
Throws:
IOException
See Also:
Writable.write(DataOutput)


Copyright © 2005 The Nutch Organization.