org.apache.pig.piggybank.storage
Class MultiStorage.MultiStorageOutputFormat

java.lang.Object
  extended by org.apache.hadoop.mapreduce.OutputFormat<K,V>
      extended by org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<K,V>
          extended by org.apache.hadoop.mapreduce.lib.output.TextOutputFormat<String,Tuple>
              extended by org.apache.pig.piggybank.storage.MultiStorage.MultiStorageOutputFormat
Enclosing class:
MultiStorage

public static class MultiStorage.MultiStorageOutputFormat
extends org.apache.hadoop.mapreduce.lib.output.TextOutputFormat<String,Tuple>


Nested Class Summary
protected static class MultiStorage.MultiStorageOutputFormat.MyLineRecordWriter
           
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.lib.output.TextOutputFormat
org.apache.hadoop.mapreduce.lib.output.TextOutputFormat.LineRecordWriter<K,V>
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.Counter
 
Field Summary
 
Fields inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
BASE_OUTPUT_NAME, PART
 
Constructor Summary
MultiStorage.MultiStorageOutputFormat()
           
 
Method Summary
 org.apache.hadoop.mapreduce.RecordWriter<String,Tuple> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
           
 void setKeyValueSeparator(String sep)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat
checkOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiStorage.MultiStorageOutputFormat

public MultiStorage.MultiStorageOutputFormat()
Method Detail

getRecordWriter

public org.apache.hadoop.mapreduce.RecordWriter<String,Tuple> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                                                                       throws IOException,
                                                                              InterruptedException
Overrides:
getRecordWriter in class org.apache.hadoop.mapreduce.lib.output.TextOutputFormat<String,Tuple>
Throws:
IOException
InterruptedException

setKeyValueSeparator

public void setKeyValueSeparator(String sep)


Copyright © 2007-2012 The Apache Software Foundation