public class IndexUpdateOutputFormat extends FileOutputFormat<Shard,Text>
Constructor and Description |
---|
IndexUpdateOutputFormat() |
Modifier and Type | Method and Description |
---|---|
RecordWriter<Shard,Text> |
getRecordWriter(FileSystem fs,
JobConf job,
String name,
Progressable progress)
Get the
RecordWriter for the given job. |
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath
public RecordWriter<Shard,Text> getRecordWriter(FileSystem fs, JobConf job, String name, Progressable progress) throws IOException
OutputFormat
RecordWriter
for the given job.getRecordWriter
in interface OutputFormat<Shard,Text>
getRecordWriter
in class FileOutputFormat<Shard,Text>
job
- configuration for the job whose output is being written.name
- the unique name for this part of the output.progress
- mechanism for reporting progress while writing to file.RecordWriter
to write the output for the job.IOException
Copyright © 2010 The Apache Software Foundation