org.apache.pig.backend.hadoop.executionengine.mapreduceExec
Class PigOutputFormat

java.lang.Object
  extended by org.apache.pig.backend.hadoop.executionengine.mapreduceExec.PigOutputFormat
All Implemented Interfaces:
org.apache.hadoop.mapred.OutputFormat

public class PigOutputFormat
extends Object
implements org.apache.hadoop.mapred.OutputFormat


Nested Class Summary
static class PigOutputFormat.PigRecordWriter
           
 
Field Summary
static String PIG_OUTPUT_FUNC
           
 
Constructor Summary
PigOutputFormat()
           
 
Method Summary
 void checkOutputSpecs(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.mapred.JobConf job)
           
 PigOutputFormat.PigRecordWriter getRecordWriter(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.fs.Path outputDir, String name, org.apache.hadoop.util.Progressable progress)
           
 org.apache.hadoop.mapred.RecordWriter getRecordWriter(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.mapred.JobConf job, String name, org.apache.hadoop.util.Progressable progress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PIG_OUTPUT_FUNC

public static final String PIG_OUTPUT_FUNC
See Also:
Constant Field Values
Constructor Detail

PigOutputFormat

public PigOutputFormat()
Method Detail

getRecordWriter

public org.apache.hadoop.mapred.RecordWriter getRecordWriter(org.apache.hadoop.fs.FileSystem fs,
                                                             org.apache.hadoop.mapred.JobConf job,
                                                             String name,
                                                             org.apache.hadoop.util.Progressable progress)
                                                      throws IOException
Specified by:
getRecordWriter in interface org.apache.hadoop.mapred.OutputFormat
Throws:
IOException

getRecordWriter

public PigOutputFormat.PigRecordWriter getRecordWriter(org.apache.hadoop.fs.FileSystem fs,
                                                       org.apache.hadoop.mapred.JobConf job,
                                                       org.apache.hadoop.fs.Path outputDir,
                                                       String name,
                                                       org.apache.hadoop.util.Progressable progress)
                                                throws IOException
Throws:
IOException

checkOutputSpecs

public void checkOutputSpecs(org.apache.hadoop.fs.FileSystem fs,
                             org.apache.hadoop.mapred.JobConf job)
                      throws IOException
Specified by:
checkOutputSpecs in interface org.apache.hadoop.mapred.OutputFormat
Throws:
IOException


Copyright © ${year} The Apache Software Foundation