public final class EntityEntityWritable extends Object implements org.apache.hadoop.io.WritableComparable<EntityEntityWritable>, Cloneable
WritableComparable
encapsulating two items.Constructor and Description |
---|
EntityEntityWritable() |
EntityEntityWritable(long aID,
long bID) |
Modifier and Type | Method and Description |
---|---|
EntityEntityWritable |
clone() |
int |
compareTo(EntityEntityWritable that) |
boolean |
equals(Object o) |
int |
hashCode() |
void |
readFields(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public EntityEntityWritable()
public EntityEntityWritable(long aID, long bID)
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public int compareTo(EntityEntityWritable that)
compareTo
in interface Comparable<EntityEntityWritable>
public EntityEntityWritable clone()
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.