code: public boolean result(final Object iRecord) {
      final ORecordAbstract<?> record = (ORecordAbstract<?>) iRecord;
  
      if (record.getIdentity().isValid()) {
        // RESET VERSION TO DISABLE MVCC AVOIDING THE CONCURRENT EXCEPTION IF LOCAL CACHE IS NOT UPDATED
        record.setVersion(-1);
        record.delete();
        recordCount++;
        return true;
      }
      return false;
    }
docs: Delete the current record.