if (workItem.getRsCache() != null && command.areResultsCachable()) { CachableVisitor cv = new CachableVisitor(); PreOrPostOrderNavigator.doVisit(command, cv, PreOrPostOrderNavigator.PRE_ORDER, true); cid.setParameters(cv.parameters); if (cd.getInvalidation() == null || cd.getInvalidation() == Invalidation.NONE) { CachedResults cr = workItem.getRsCache().get(cid); if (cr != null && (cr.getRowLimit() == 0 || (parameterObject.limit > 0 && cr.getRowLimit() >= parameterObject.limit))) { parameterObject.doNotCache = true; workItem.getRsCache().remove(cid, CachingTupleSource.getDeterminismLevel(cd.getScope()));
if (workItem.getRsCache() != null && command.areResultsCachable()) { CachableVisitor cv = new CachableVisitor(); PreOrPostOrderNavigator.doVisit(command, cv, PreOrPostOrderNavigator.PRE_ORDER, true); cid.setParameters(cv.parameters); if (cd.getInvalidation() == null || cd.getInvalidation() == Invalidation.NONE) { CachedResults cr = workItem.getRsCache().get(cid); if (cr != null && (cr.getRowLimit() == 0 || (parameterObject.limit > 0 && cr.getRowLimit() >= parameterObject.limit))) { parameterObject.doNotCache = true; workItem.getRsCache().remove(cid, CachingTupleSource.getDeterminismLevel(cd.getScope()));
if (workItem.getRsCache() != null && command.areResultsCachable()) { CachableVisitor cv = new CachableVisitor(); PreOrPostOrderNavigator.doVisit(command, cv, PreOrPostOrderNavigator.PRE_ORDER, true); cid.setParameters(cv.parameters); if (cd.getInvalidation() == null || cd.getInvalidation() == Invalidation.NONE) { CachedResults cr = workItem.getRsCache().get(cid); if (cr != null && (cr.getRowLimit() == 0 || (parameterObject.limit > 0 && cr.getRowLimit() >= parameterObject.limit))) { parameterObject.doNotCache = true; workItem.getRsCache().remove(cid, CachingTupleSource.getDeterminismLevel(cd.getScope()));