edu.arsc.multisearch
Class TRECOutputFormat

java.lang.Object
  extended by org.apache.hadoop.mapred.FileOutputFormat<org.apache.hadoop.io.Text,ResultSetWritable>
      extended by edu.arsc.multisearch.TRECOutputFormat
All Implemented Interfaces:
org.apache.hadoop.mapred.OutputFormat<org.apache.hadoop.io.Text,ResultSetWritable>

public class TRECOutputFormat
extends org.apache.hadoop.mapred.FileOutputFormat<org.apache.hadoop.io.Text,ResultSetWritable>


Nested Class Summary
protected static class TRECOutputFormat.ResultSetRecordWriter
           
 
Constructor Summary
TRECOutputFormat()
           
 
Method Summary
 TRECOutputFormat.ResultSetRecordWriter getRecordWriter(org.apache.hadoop.fs.FileSystem ignored, org.apache.hadoop.mapred.JobConf job, java.lang.String name, org.apache.hadoop.util.Progressable progress)
           
 
Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TRECOutputFormat

public TRECOutputFormat()
Method Detail

getRecordWriter

public TRECOutputFormat.ResultSetRecordWriter getRecordWriter(org.apache.hadoop.fs.FileSystem ignored,
                                                              org.apache.hadoop.mapred.JobConf job,
                                                              java.lang.String name,
                                                              org.apache.hadoop.util.Progressable progress)
                                                       throws java.io.IOException
Specified by:
getRecordWriter in interface org.apache.hadoop.mapred.OutputFormat<org.apache.hadoop.io.Text,ResultSetWritable>
Specified by:
getRecordWriter in class org.apache.hadoop.mapred.FileOutputFormat<org.apache.hadoop.io.Text,ResultSetWritable>
Parameters:
FileSystem -
JobConf -
String -
Progressable -
Throws:
java.io.IOException