예제 #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);
 }
예제 #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);
 }
예제 #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);
 }