org.apache.hadoop.hbase.regionserver
Class HLog.HLogEntry

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.HLog.HLogEntry
Enclosing class:
HLog

public static class HLog.HLogEntry
extends Object

Utility class that lets us keep track of the edit with it's key Only used when splitting logs


Constructor Summary
HLog.HLogEntry(KeyValue edit, HLogKey key)
          Constructor for both params
 
Method Summary
 KeyValue getEdit()
          Gets the edit
 HLogKey getKey()
          Gets the key
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HLog.HLogEntry

public HLog.HLogEntry(KeyValue edit,
                      HLogKey key)
Constructor for both params

Parameters:
edit - log's edit
key - log's key
Method Detail

getEdit

public KeyValue getEdit()
Gets the edit

Returns:
edit

getKey

public HLogKey getKey()
Gets the key

Returns:
key

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 The Apache Software Foundation