org.apache.pig.impl.io
Class SequenceFileInterStorage.SequenceFileTupleOutputFormat

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.SequenceFileOutputFormat<org.apache.hadoop.io.NullWritable,BinSedesTuple>
              extended by org.apache.pig.impl.io.SequenceFileInterStorage.SequenceFileTupleOutputFormat
Enclosing class:
SequenceFileInterStorage

public static class SequenceFileInterStorage.SequenceFileTupleOutputFormat
extends org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat<org.apache.hadoop.io.NullWritable,BinSedesTuple>


Nested Class Summary
 
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
SequenceFileInterStorage.SequenceFileTupleOutputFormat()
           
 
Method Summary
 org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,BinSedesTuple> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
           
protected  org.apache.hadoop.io.SequenceFile.Writer getSequenceWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat
getOutputCompressionType, setOutputCompressionType
 
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

SequenceFileInterStorage.SequenceFileTupleOutputFormat

public SequenceFileInterStorage.SequenceFileTupleOutputFormat()
Method Detail

getSequenceWriter

protected org.apache.hadoop.io.SequenceFile.Writer getSequenceWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                                                              throws IOException
Throws:
IOException

getRecordWriter

public org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,BinSedesTuple> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
                                                                                                          throws IOException,
                                                                                                                 InterruptedException
Overrides:
getRecordWriter in class org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat<org.apache.hadoop.io.NullWritable,BinSedesTuple>
Throws:
IOException
InterruptedException


Copyright © 2007-2012 The Apache Software Foundation