public class DocumentID extends Object implements org.apache.hadoop.io.WritableComparable
| Constructor and Description |
|---|
DocumentID()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj) |
org.apache.hadoop.io.Text |
getText()
The text of the document id.
|
int |
hashCode() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public org.apache.hadoop.io.Text getText()
public int compareTo(Object obj)
compareTo in interface Comparablepublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2009 The Apache Software Foundation