org.apache.accumulo.core.file.rfile
Class RelativeKey
java.lang.Object
org.apache.accumulo.core.file.rfile.RelativeKey
- All Implemented Interfaces:
- Comparable<RelativeKey>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<RelativeKey>
public class RelativeKey
- extends Object
- implements org.apache.hadoop.io.WritableComparable<RelativeKey>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelativeKey
public RelativeKey()
RelativeKey
public RelativeKey(Key prevKey,
Key key)
printStats
public static void printStats()
throws Exception
- Throws:
Exception
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
getKey
public Key getKey()
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
compareTo
public int compareTo(RelativeKey o)
- Specified by:
compareTo
in interface Comparable<RelativeKey>
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.