/** This implementation simply deletes each tuple it is handed. */ public void process(Tuple tuple) throws IOException { // Make a copy of this, because once we delete the tuple, we can't // use the "tuple" variable anymore! TupleLiteral oldTuple = new TupleLiteral(tuple); eventDispatch.fireBeforeRowDeleted(tblFileInfo, tuple); tableMgr.deleteTuple(tblFileInfo, tuple); eventDispatch.fireAfterRowDeleted(tblFileInfo, oldTuple); }