com.intel.hadoop.graphbuilder.io
Class MultiDirOutputFormat

java.lang.Object
  extended by org.apache.hadoop.mapred.FileOutputFormat<K,V>
      extended by org.apache.hadoop.mapred.lib.MultipleOutputFormat<K,V>
          extended by org.apache.hadoop.mapred.lib.MultipleTextOutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>
              extended by com.intel.hadoop.graphbuilder.io.MultiDirOutputFormat
All Implemented Interfaces:
org.apache.hadoop.mapred.OutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>

public class MultiDirOutputFormat
extends org.apache.hadoop.mapred.lib.MultipleTextOutputFormat<org.apache.hadoop.io.Text,org.apache.hadoop.io.Text>

OutputFormat which allows to multiplex output directory based on the output key. If key does not contains space, then it is treated as the output directory. If key does contains space, then its first part is the directory, and the second part is the file name.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileOutputFormat
org.apache.hadoop.mapred.FileOutputFormat.Counter
 
Constructor Summary
MultiDirOutputFormat()
           
 
Method Summary
 
Methods inherited from class org.apache.hadoop.mapred.lib.MultipleOutputFormat
getRecordWriter
 
Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiDirOutputFormat

public MultiDirOutputFormat()