Esempio n. 1
0
 @Override
 public void insert(long currentTransaction, Object row) throws IOException {
   if (this.currentTransaction.get() != currentTransaction) {
     insertedRows = 0;
   }
   addEvent(INSERT_OPERATION, currentTransaction, currentTransaction, insertedRows++, row);
 }
Esempio n. 2
0
 @Override
 public void delete(long currentTransaction, long originalTransaction, long rowId)
     throws IOException {
   if (this.currentTransaction.get() != currentTransaction) {
     insertedRows = 0;
   }
   addEvent(DELETE_OPERATION, currentTransaction, originalTransaction, rowId, null);
 }
Esempio n. 3
0
 @Override
 public void update(long currentTransaction, long originalTransaction, long rowId, Object row)
     throws IOException {
   if (this.currentTransaction.get() != currentTransaction) {
     insertedRows = 0;
   }
   addEvent(UPDATE_OPERATION, currentTransaction, originalTransaction, rowId, row);
 }