org.apache.hadoop.contrib.index.mapred
Class IndexUpdateOutputFormat
java.lang.Object
  
org.apache.hadoop.mapred.FileOutputFormat<Shard,Text>
      
org.apache.hadoop.contrib.index.mapred.IndexUpdateOutputFormat
- All Implemented Interfaces: 
 - OutputFormat<Shard,Text>
 
public class IndexUpdateOutputFormat
- extends FileOutputFormat<Shard,Text>
 
The record writer of this output format simply puts a message in an output
 path when a shard update is done.
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
IndexUpdateOutputFormat
public IndexUpdateOutputFormat()
getRecordWriter
public RecordWriter<Shard,Text> getRecordWriter(FileSystem fs,
                                                JobConf job,
                                                String name,
                                                Progressable progress)
                                         throws IOException
- Description copied from interface: 
OutputFormat 
- Get the 
RecordWriter for the given job.
- Specified by:
 getRecordWriter in interface OutputFormat<Shard,Text>- Specified by:
 getRecordWriter in class FileOutputFormat<Shard,Text>
 
job - configuration for the job whose output is being written.name - the unique name for this part of the output.progress - mechanism for reporting progress while writing to file.
- Returns:
 - a 
RecordWriter to write the output for the job.
 - Throws:
 IOException
 
 
Copyright © 2008 The Apache Software Foundation