org.apache.hadoop.hbase.mapred
Class LuceneDocumentWrapper
java.lang.Object
org.apache.hadoop.hbase.mapred.LuceneDocumentWrapper
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
Deprecated.
@Deprecated
public class LuceneDocumentWrapper
- extends Object
- implements org.apache.hadoop.io.Writable
A utility class used to pass a lucene document from reduce to OutputFormat.
It doesn't really serialize/deserialize a lucene document.
Field Summary |
protected org.apache.lucene.document.Document |
doc
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
protected org.apache.lucene.document.Document doc
- Deprecated.
LuceneDocumentWrapper
public LuceneDocumentWrapper(org.apache.lucene.document.Document doc)
- Deprecated.
- Parameters:
doc
-
get
public org.apache.lucene.document.Document get()
- Deprecated.
- Returns:
- the document
readFields
public void readFields(DataInput in)
- Deprecated.
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
write
public void write(DataOutput out)
- Deprecated.
- Specified by:
write
in interface org.apache.hadoop.io.Writable
Copyright © 2009 The Apache Software Foundation