NullOutputFormat (Hadoop 0.20.1+169.88 API)
Date: 2010-05-20

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.hadoop.mapred.lib
Class NullOutputFormat<K,V>

    java.lang.Object
      org.apache.hadoop.mapred.lib.NullOutputFormat<K,V>

All Implemented Interfaces:
  OutputFormat<K,V>

Deprecated. Use `NullOutputFormat` instead.

    @Deprecated
    public class NullOutputFormat<K,V>

extends Object
implements OutputFormat<K,V>

Consume all outputs and put them in /dev/null.

Constructor Summary
`NullOutputFormat()` Deprecated.

Method Summary
`void` | `checkOutputSpecs(FileSystem ignored, JobConf job)` Deprecated. Check for validity of the output-specification for the job.
`RecordWriter<K,V>` | `getRecordWriter(FileSystem ignored, JobConf job, String name, Progressable progress)` Deprecated. Get the `RecordWriter` for the given job.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NullOutputFormat

    public NullOutputFormat()

  Deprecated.

Method Detail

### getRecordWriter

    public RecordWriter<K,V> getRecordWriter(FileSystem ignored,
                                             JobConf job,
                                             String name,
                                             Progressable progress)

  Deprecated.
  Description copied from interface: `OutputFormat`
  Get the `RecordWriter` for the given job.

  Specified by:
    `getRecordWriter` in interface `OutputFormat<K,V>`
    `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.
  Returns:
    a `RecordWriter` to write the output for the job.

### checkOutputSpecs

    public void checkOutputSpecs(FileSystem ignored,
                                 JobConf job)

  Deprecated.
  Description copied from interface: `OutputFormat`
  Check for validity of the output-specification for the job.

  This 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.

  Specified by:
    `checkOutputSpecs` in interface `OutputFormat<K,V>`
    `job` - job configuration.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 The Apache Software Foundation