public class IndexerOutputFormat extends OutputFormat<java.lang.String,NutchDocument>
Constructor and Description |
---|
IndexerOutputFormat() |
Modifier and Type | Method and Description |
---|---|
void |
checkOutputSpecs(JobContext jobContext) |
OutputCommitter |
getOutputCommitter(TaskAttemptContext arg0) |
RecordWriter<java.lang.String,NutchDocument> |
getRecordWriter(TaskAttemptContext job) |
public RecordWriter<java.lang.String,NutchDocument> getRecordWriter(TaskAttemptContext job) throws java.io.IOException, java.lang.InterruptedException
getRecordWriter
in class OutputFormat<java.lang.String,NutchDocument>
java.io.IOException
java.lang.InterruptedException
public void checkOutputSpecs(JobContext jobContext) throws java.io.IOException, java.lang.InterruptedException
checkOutputSpecs
in class OutputFormat<java.lang.String,NutchDocument>
java.io.IOException
java.lang.InterruptedException
public OutputCommitter getOutputCommitter(TaskAttemptContext arg0) throws java.io.IOException, java.lang.InterruptedException
getOutputCommitter
in class OutputFormat<java.lang.String,NutchDocument>
java.io.IOException
java.lang.InterruptedException
Copyright © 2019 The Apache Software Foundation