|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.FileOutputFormat<Shard,Text>
org.apache.hadoop.contrib.index.mapred.IndexUpdateOutputFormat
public class IndexUpdateOutputFormat
The record writer of this output format simply puts a message in an output path when a shard update is done.
Constructor Summary | |
---|---|
IndexUpdateOutputFormat()
|
Method Summary | |
---|---|
RecordWriter<Shard,Text> |
getRecordWriter(FileSystem fs,
JobConf job,
java.lang.String name,
Progressable progress)
Get the RecordWriter for the given job. |
Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat |
---|
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexUpdateOutputFormat()
Method Detail |
---|
public RecordWriter<Shard,Text> getRecordWriter(FileSystem fs, JobConf job, java.lang.String name, Progressable progress) throws java.io.IOException
OutputFormat
RecordWriter
for the given job.
getRecordWriter
in interface OutputFormat<Shard,Text>
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.
RecordWriter
to write the output for the job.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |