|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.OutputFormat<K,V>
org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<ImmutableBytesWritable,LuceneDocumentWrapper>
org.apache.hadoop.hbase.mapreduce.IndexOutputFormat
public class IndexOutputFormat
Create a local index, unwrap Lucene documents created by reduce, add them to the index, and copy the index to the destination.
Constructor Summary | |
---|---|
IndexOutputFormat()
|
Method Summary | |
---|---|
org.apache.hadoop.mapreduce.RecordWriter<ImmutableBytesWritable,LuceneDocumentWrapper> |
getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
Returns the record writer. |
Methods inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat |
---|
checkOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputPath, getPathForWorkFile, getUniqueFile, 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 IndexOutputFormat()
Method Detail |
---|
public org.apache.hadoop.mapreduce.RecordWriter<ImmutableBytesWritable,LuceneDocumentWrapper> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
getRecordWriter
in class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<ImmutableBytesWritable,LuceneDocumentWrapper>
context
- The current task context.
IOException
- When there is an issue with the writer.FileOutputFormat.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |