コード例 #1
0
 /** Removes the triple t (if possible) from the set belonging to this graph. */
 @Override
 public void performDelete(Triple t) {
   version++;
   if (fdata != null) {
     Graph data = fdata.getGraph();
     if (data != null) {
       data.delete(t);
     }
   }
   if (isPrepared) {
     fdeductions.getGraph().delete(t);
   }
 }
コード例 #2
0
    @Override
    protected Serializable processMethod() throws AsyncException {
      version++;
      if (fdata != null) {
        Graph data = fdata.getGraph();
        if (data != null) {
          data.delete(getHandler(""), t);
        }
      }
      if (isPrepared) {
        fdeductions.getGraph().delete(getHandler(""), t);
      }

      return null;
    }