@Override public boolean postExecute() { if (!super.postExecute()) return false; reasoner.ontologyIndex.commitAddedRules(); reasoner.ontologyIndex.initClassChanges(); reasoner.ontologyIndex.initIndividualChanges(); return true; }
@Override public boolean postExecute() { if (!super.postExecute()) return false; reasoner.ontologyIndex.commitAddedRules(); reasoner.ontologyIndex.initClassChanges(); reasoner.ontologyIndex.initIndividualChanges(); return true; }
@Override public boolean postExecute() { if (!super.postExecute()) return false; reasoner.ontologyIndex.commitAddedRules(); reasoner.ontologyIndex.initClassChanges(); reasoner.ontologyIndex.initIndividualChanges(); return true; }
/** * Sets the incremental mode for this {@code DifferentialIndex}. * * @param incremental * if {@code true}, deletions and additions to this indexed are * stored separately; if {@code false} all changes are * immediately applied to the index. */ public void setIncrementalMode(boolean incremental) { if (this.incrementalMode == incremental) // already set return; LOGGER_.trace("set incremental mode: " + incremental); this.incrementalMode = incremental; if (!incremental) { clearDeletedRules(); commitAddedRules(); initClassChanges(); initIndividualChanges(); } }
/** * Sets the incremental mode for this {@code DifferentialIndex}. * * @param incremental * if {@code true}, deletions and additions to this indexed are * stored separately; if {@code false} all changes are * immediately applied to the index. */ public void setIncrementalMode(boolean incremental) { if (this.incrementalMode == incremental) // already set return; LOGGER_.trace("set incremental mode: " + incremental); this.incrementalMode = incremental; if (!incremental) { clearDeletedRules(); commitAddedRules(); initClassChanges(); initIndividualChanges(); } }
/** * Sets the incremental mode for this {@code DifferentialIndex}. * * @param incremental * if {@code true}, deletions and additions to this indexed are * stored separately; if {@code false} all changes are * immediately applied to the index. */ public void setIncrementalMode(boolean incremental) { if (this.incrementalMode == incremental) // already set return; LOGGER_.trace("set incremental mode: " + incremental); this.incrementalMode = incremental; if (!incremental) { clearDeletedRules(); commitAddedRules(); initClassChanges(); initIndividualChanges(); } }