org.apache.accumulo.server.logger
Class LogFileKey

java.lang.Object
  extended by org.apache.accumulo.server.logger.LogFileKey
All Implemented Interfaces:
Comparable<LogFileKey>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<LogFileKey>

public class LogFileKey
extends Object
implements org.apache.hadoop.io.WritableComparable<LogFileKey>


Field Summary
 LogEvents event
           
 String filename
           
 long seq
           
 KeyExtent tablet
           
 int tid
           
 String tserverSession
           
static int VERSION
           
 
Constructor Summary
LogFileKey()
           
 
Method Summary
 int compareTo(LogFileKey o)
           
 boolean equals(Object obj)
           
 int hashCode()
           
static void printEntry(LogFileKey entry)
           
 void readFields(DataInput in)
           
 String toString()
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

event

public LogEvents event

filename

public String filename

tablet

public KeyExtent tablet

seq

public long seq

tid

public int tid

VERSION

public static final int VERSION
See Also:
Constant Field Values

tserverSession

public String tserverSession
Constructor Detail

LogFileKey

public LogFileKey()
Method Detail

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

compareTo

public int compareTo(LogFileKey o)
Specified by:
compareTo in interface Comparable<LogFileKey>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

printEntry

public static void printEntry(LogFileKey entry)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.