|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.store.DeltaStore
public class DeltaStore
Field Summary | |
---|---|
static String |
TABLE_PREFIX
|
Constructor Summary | |
---|---|
DeltaStore(String identifier,
boolean isRestarting)
|
Method Summary | |
---|---|
void |
closeDelta()
|
void |
commit()
Commit the last transactions |
void |
commitOnEndIter()
Commit if in commit mode "On end of AL cycle" |
void |
deleteEntry(String key)
|
Entry |
findEntry(String key)
|
Entry |
findEntryVerify(String key)
|
Entry |
getNextDeletedEntry(boolean deleteEntry)
Returns the next deleted Entry. |
Entry |
getNextDeletedEntry(boolean deleteEntry,
Set keys)
Returns the next deleted Entry, given a Set of keys for unchanged Entries. |
Entry |
getStatistics()
|
void |
insertEntry(String key,
Entry entry)
|
void |
rollback()
Rollback the last transactions |
void |
selectDeletedEntries()
|
boolean |
setCommitMode(String mode)
Set the commit behavior of Delta. |
void |
updateEntry(String key,
Entry entry)
|
void |
updateSequence(String key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TABLE_PREFIX
Constructor Detail |
---|
public DeltaStore(String identifier, boolean isRestarting) throws Exception
Exception
Method Detail |
---|
public boolean setCommitMode(String mode)
mode
- The intended behavior. Possible values are:
public void closeDelta() throws SQLException
SQLException
public void updateSequence(String key) throws Exception
Exception
public void updateEntry(String key, Entry entry) throws Exception
Exception
public void insertEntry(String key, Entry entry) throws Exception
Exception
public Entry findEntry(String key) throws Exception
Exception
public Entry findEntryVerify(String key) throws Exception
Exception
public void deleteEntry(String key) throws Exception
Exception
public void selectDeletedEntries() throws Exception
Exception
public Entry getNextDeletedEntry(boolean deleteEntry) throws Exception
Exception
public Entry getNextDeletedEntry(boolean deleteEntry, Set keys) throws Exception
deleteEntry
- - If set, also delete the Entry from the deltaStorekeys
- - Should be null, or a Set containing keys for unchanged entries
Exception
public Entry getStatistics()
public void commit() throws SQLException
SQLException
- Thrown if an error occurspublic void rollback() throws SQLException
SQLException
- Thrown if an error occurspublic void commitOnEndIter() throws SQLException
SQLException
- Thrown if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |