com.sleepycat.je.tree
Class BINReference

java.lang.Object
  extended bycom.sleepycat.je.tree.BINReference
Direct Known Subclasses:
DBINReference

public class BINReference
extends Object

A class that embodies a reference to a BIN that does not rely on a Java reference to the actual BIN.


Field Summary
protected  Key idKey
           
 
Constructor Summary
(package private) BINReference(long nodeId, DatabaseId databaseId, Key idKey)
           
 
Method Summary
 void addDeletedKey(Key key)
           
 void addDeletedKeys(BINReference other)
           
 boolean equals(Object obj)
          Compare two BINReferences.
 Key getData()
           
 DatabaseId getDatabaseId()
           
 Key getKey()
           
 long getNodeId()
           
 boolean hasDeletedKey(Key key)
           
 int hashCode()
           
 void removeDeletedKey(Key key)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

idKey

protected Key idKey
Constructor Detail

BINReference

BINReference(long nodeId,
             DatabaseId databaseId,
             Key idKey)
Method Detail

getNodeId

public long getNodeId()

getDatabaseId

public DatabaseId getDatabaseId()

getKey

public Key getKey()

getData

public Key getData()

addDeletedKey

public void addDeletedKey(Key key)

addDeletedKeys

public void addDeletedKeys(BINReference other)

removeDeletedKey

public void removeDeletedKey(Key key)

hasDeletedKey

public boolean hasDeletedKey(Key key)

equals

public boolean equals(Object obj)
Compare two BINReferences.


hashCode

public int hashCode()

toString

public String toString()


Copyright 2004 Sleepycat, Inc. All Rights Reserved.