org.apache.accumulo.core.file.rfile
Class RelativeKey

java.lang.Object
  extended by 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>


Constructor Summary
RelativeKey()
           
RelativeKey(Key prevKey, Key key)
           
 
Method Summary
 int compareTo(RelativeKey o)
           
 Key getKey()
           
static void printStats()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelativeKey

public RelativeKey()

RelativeKey

public RelativeKey(Key prevKey,
                   Key key)
Method Detail

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 © 2013 The Apache Software Foundation. All Rights Reserved.