Package com.db4o.internal.btree
Class BTreePatch
- java.lang.Object
-
- com.db4o.internal.btree.BTreePatch
-
- Direct Known Subclasses:
BTreeAdd
,BTreeUpdate
public abstract class BTreePatch extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
_object
protected Transaction
_transaction
-
Constructor Summary
Constructors Constructor Description BTreePatch(Transaction transaction, java.lang.Object obj)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.Object
commit(Transaction trans, BTree btree, BTreeNode node)
abstract BTreePatch
forTransaction(Transaction trans)
java.lang.Object
getObject()
boolean
isAdd()
boolean
isCancelledRemoval()
boolean
isRemove()
abstract java.lang.Object
key(Transaction trans)
abstract java.lang.Object
rollback(Transaction trans, BTree btree)
abstract int
sizeDiff(Transaction trans)
java.lang.String
toString()
-
-
-
Field Detail
-
_transaction
protected final Transaction _transaction
-
_object
protected java.lang.Object _object
-
-
Constructor Detail
-
BTreePatch
public BTreePatch(Transaction transaction, java.lang.Object obj)
-
-
Method Detail
-
commit
public abstract java.lang.Object commit(Transaction trans, BTree btree, BTreeNode node)
-
forTransaction
public abstract BTreePatch forTransaction(Transaction trans)
-
getObject
public java.lang.Object getObject()
-
isAdd
public boolean isAdd()
-
isCancelledRemoval
public boolean isCancelledRemoval()
-
isRemove
public boolean isRemove()
-
key
public abstract java.lang.Object key(Transaction trans)
-
rollback
public abstract java.lang.Object rollback(Transaction trans, BTree btree)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
sizeDiff
public abstract int sizeDiff(Transaction trans)
-
-