@InterfaceAudience.Public @InterfaceStability.Stable public class NullOutputFormat<K,V> extends OutputFormat<K,V>
| コンストラクタと説明 | 
|---|
| NullOutputFormat() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | checkOutputSpecs(JobContext context)Check for validity of the output-specification for the job. | 
| OutputCommitter | getOutputCommitter(TaskAttemptContext context)Get the output committer for this output format. | 
| RecordWriter<K,V> | getRecordWriter(TaskAttemptContext context)Get the  RecordWriterfor the given task. | 
public NullOutputFormat()
public RecordWriter<K,V> getRecordWriter(TaskAttemptContext context)
OutputFormatRecordWriter for the given task.getRecordWriter クラス内 OutputFormat<K,V>context - the information about the current task.RecordWriter to write the output for the job.public void checkOutputSpecs(JobContext context)
OutputFormatThis is to validate the output specification for the job when it is a job is submitted. Typically checks that it does not already exist, throwing an exception when it already exists, so that output is not overwritten.
checkOutputSpecs クラス内 OutputFormat<K,V>context - information about the jobpublic OutputCommitter getOutputCommitter(TaskAttemptContext context)
OutputFormatgetOutputCommitter クラス内 OutputFormat<K,V>context - the task contextCopyright © 2016 Apache Software Foundation. All rights reserved.