public class IndexUpdateOutputFormat extends FileOutputFormat<Shard,Text>
FileOutputFormat.Counter| 构造器和说明 |
|---|
IndexUpdateOutputFormat() |
| 限定符和类型 | 方法和说明 |
|---|---|
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, setOutputPathpublic RecordWriter<Shard,Text> getRecordWriter(FileSystem fs, JobConf job, String name, Progressable progress) throws IOException
OutputFormatRecordWriter for the given job.getRecordWriter 在接口中 OutputFormat<Shard,Text>getRecordWriter 在类中 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.IOExceptionCopyright © 2009 The Apache Software Foundation