org.apache.accumulo.server.logger
Class LogFileKey

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

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


Field Summary
 LogEvents event
           
 java.lang.String filename
           
 long seq
           
 KeyExtent tablet
           
 int tid
           
 java.lang.String tserverSession
           
static int VERSION
           
 
Constructor Summary
LogFileKey()
           
 
Method Summary
 int compareTo(LogFileKey o)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
static void printEntry(LogFileKey entry)
           
 void readFields(java.io.DataInput in)
           
 java.lang.String toString()
           
 void write(java.io.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 java.lang.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 java.lang.String tserverSession
Constructor Detail

LogFileKey

public LogFileKey()
Method Detail

readFields

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

write

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

compareTo

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

printEntry

public static void printEntry(LogFileKey entry)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.