org.apache.nutch.mapReduce
Class SequenceFileOutputFormat

java.lang.Object
  extended byorg.apache.nutch.mapReduce.SequenceFileOutputFormat
All Implemented Interfaces:
OutputFormat

public class SequenceFileOutputFormat
extends Object
implements OutputFormat


Constructor Summary
SequenceFileOutputFormat()
           
 
Method Summary
 String getName()
          The name of this output format.
 RecordWriter getRecordWriter(NutchFileSystem fs, JobConf job, String name)
          Construct a RecordWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceFileOutputFormat

public SequenceFileOutputFormat()
Method Detail

getName

public String getName()
Description copied from interface: OutputFormat
The name of this output format.

Specified by:
getName in interface OutputFormat
See Also:
OutputFormats

getRecordWriter

public RecordWriter getRecordWriter(NutchFileSystem fs,
                                    JobConf job,
                                    String name)
                             throws IOException
Description copied from interface: OutputFormat
Construct a RecordWriter.

Specified by:
getRecordWriter in interface OutputFormat
Parameters:
fs - the file system to write to
job - the job whose output is being written
name - the unique name for this part of the output
Returns:
a RecordWriter
Throws:
IOException


Copyright © 2006 The Apache Software Foundation