public class DocumentDBWritable extends Object implements org.apache.hadoop.io.WritableComparable<Object>
| Constructor and Description |
|---|
DocumentDBWritable() |
DocumentDBWritable(com.microsoft.azure.documentdb.Document doc) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
com.microsoft.azure.documentdb.Document |
getDoc() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
setDoc(com.microsoft.azure.documentdb.Document doc) |
String |
toString() |
void |
write(DataOutput out) |
public DocumentDBWritable()
public DocumentDBWritable(com.microsoft.azure.documentdb.Document doc)
public void setDoc(com.microsoft.azure.documentdb.Document doc)
public com.microsoft.azure.documentdb.Document getDoc()
public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionWritable.write(DataOutput)public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionWritable.readFields(DataInput)public int compareTo(Object o)
compareTo in interface Comparable<Object>Copyright © 2015. All rights reserved.