private class IndexData.AddRowPendingChange extends IndexData.PendingChange
| Modifier and Type | Field and Description |
|---|---|
protected IndexData.DataPage |
_addDataPage |
protected IndexData.Entry |
_addEntry |
protected int |
_addIdx |
protected boolean |
_isDupe |
protected IndexData.Entry |
_oldEntry |
| Modifier | Constructor and Description |
|---|---|
private |
AddRowPendingChange(IndexData.PendingChange next) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Completes the pending change.
|
void |
rollback()
Undoes the pending change.
|
void |
setAddRow(IndexData.Entry addEntry,
IndexData.DataPage dataPage,
int idx,
boolean isDupe) |
void |
setOldRow(IndexData.Entry oldEntry) |
getNextprotected IndexData.Entry _addEntry
protected IndexData.DataPage _addDataPage
protected int _addIdx
protected boolean _isDupe
protected IndexData.Entry _oldEntry
private AddRowPendingChange(IndexData.PendingChange next)
public void setAddRow(IndexData.Entry addEntry, IndexData.DataPage dataPage, int idx, boolean isDupe)
public void setOldRow(IndexData.Entry oldEntry)
public void commit()
throws java.io.IOException
IndexData.PendingChangecommit in class IndexData.PendingChangejava.io.IOExceptionpublic void rollback()
throws java.io.IOException
IndexData.PendingChangerollback in class IndexData.PendingChangejava.io.IOException