com.sleepycat.je.tree
Class BINReference
java.lang.Object
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
|
idKey
protected byte[] idKey
BINReference
BINReference(long nodeId,
DatabaseId databaseId,
byte[] idKey)
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.