Class IndexData.PendingChange
- java.lang.Object
-
- com.healthmarketscience.jackcess.impl.IndexData.PendingChange
-
- Enclosing class:
- IndexData
public abstract static class IndexData.PendingChange extends Object
Utility class which maintains information about a pending index update. An instance of this class can be used to complete the change (by callingcommit()) or undo the change (by callingrollback()).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidcommit()Completes the pending change.IndexData.PendingChangegetNext()Returns the next pending change, if anyabstract voidrollback()Undoes the pending change.
-
-
-
Method Detail
-
getNext
public IndexData.PendingChange getNext()
Returns the next pending change, if any
-
commit
public abstract void commit() throws IOExceptionCompletes the pending change.- Throws:
IOException
-
rollback
public abstract void rollback() throws IOExceptionUndoes the pending change.- Throws:
IOException
-
-