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(HLogEdit edit, HLogKey key)
          Constructor for both params
 
Method Summary
 HLogEdit getEdit()
          Gets the edit
 HLogKey getKey()
          Gets the key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HLog.HLogEntry

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

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

getEdit

public HLogEdit getEdit()
Gets the edit

Returns:
edit

getKey

public HLogKey getKey()
Gets the key

Returns:
key


Copyright © 2008 The Apache Software Foundation