public class RelativeKey extends Object implements org.apache.hadoop.io.WritableComparable<RelativeKey>
Constructor and Description |
---|
RelativeKey() |
RelativeKey(Key prevKey,
Key key) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RelativeKey o) |
Key |
getKey() |
static void |
printStats() |
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public Key getKey()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public int compareTo(RelativeKey o)
compareTo
in interface Comparable<RelativeKey>
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.