public class TeraOutputFormat extends TextOutputFormat<Text,Text>
TextOutputFormat.LineRecordWriter<K,V>
FileOutputFormat.Counter
构造器和说明 |
---|
TeraOutputFormat() |
限定符和类型 | 方法和说明 |
---|---|
static boolean |
getFinalSync(JobConf conf)
Does the user want a final sync at close?
|
RecordWriter<Text,Text> |
getRecordWriter(FileSystem ignored,
JobConf job,
String name,
Progressable progress)
Get the
RecordWriter for the given job. |
static void |
setFinalSync(JobConf conf,
boolean newValue)
Set the requirement for a final sync before the stream is closed.
|
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath
public static void setFinalSync(JobConf conf, boolean newValue)
public static boolean getFinalSync(JobConf conf)
public RecordWriter<Text,Text> getRecordWriter(FileSystem ignored, JobConf job, String name, Progressable progress) throws IOException
OutputFormat
RecordWriter
for the given job.getRecordWriter
在接口中 OutputFormat<Text,Text>
getRecordWriter
在类中 TextOutputFormat<Text,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 © 2009 The Apache Software Foundation