/** * @see org.teiid.query.processor.relational.PlanExecutionNode#prepareNextCommand() */ protected boolean prepareNextCommand() throws BlockedException, TeiidComponentException, TeiidProcessingException { if (this.criteriaProcessor == null) { Criteria crit = (Criteria)inputCriteria.clone(); crit = QueryRewriter.evaluateAndRewrite(crit, getEvaluator(Collections.emptyMap()), this.getContext(), this.getContext().getMetadata()); this.criteriaProcessor = new DependentProcedureCriteriaProcessor(this, crit, inputReferences, inputDefaults); } return criteriaProcessor.prepareNextCommand(this.getProcessorPlan().getContext().getVariableContext()); }
/** * @see org.teiid.query.processor.relational.PlanExecutionNode#prepareNextCommand() */ protected boolean prepareNextCommand() throws BlockedException, TeiidComponentException, TeiidProcessingException { if (this.criteriaProcessor == null) { Criteria crit = (Criteria)inputCriteria.clone(); crit = QueryRewriter.evaluateAndRewrite(crit, getEvaluator(Collections.emptyMap()), this.getContext(), this.getContext().getMetadata()); this.criteriaProcessor = new DependentProcedureCriteriaProcessor(this, crit, inputReferences, inputDefaults); } return criteriaProcessor.prepareNextCommand(this.getProcessorPlan().getContext().getVariableContext()); }