com.sleepycat.je.tree
Class BINReference

java.lang.Object
  extended by com.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  byte[] idKey
           
 
Constructor Summary
BINReference(long nodeId, DatabaseId databaseId, byte[] idKey)
           
 
Method Summary
 void addDeletedKey(Key key)
           
 void addDeletedKeys(BINReference other)
           
 boolean deletedKeysExist()
           
 boolean equals(Object obj)
          Compare two BINReferences.
 byte[] getData()
           
 DatabaseId getDatabaseId()
           
 Iterator getDeletedKeyIterator()
           
 byte[] 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 byte[] idKey
Constructor Detail

BINReference

BINReference(long nodeId,
             DatabaseId databaseId,
             byte[] idKey)
Method Detail

getNodeId

public long getNodeId()

getDatabaseId

public DatabaseId getDatabaseId()

getKey

public byte[] getKey()

getData

public byte[] 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)

deletedKeysExist

public boolean deletedKeysExist()

getDeletedKeyIterator

public Iterator getDeletedKeyIterator()

equals

public boolean equals(Object obj)
Compare two BINReferences.

Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.