/** * @see org.teiid.query.processor.relational.AccessNode#prepareNextCommand(org.teiid.query.sql.lang.Command) */ protected boolean prepareNextCommand(Command atomicCommand) throws TeiidComponentException, TeiidProcessingException { if (this.criteriaProcessor == null) { this.criteriaProcessor = new DependentProcedureCriteriaProcessor(this, (Criteria)inputCriteria.clone(), inputReferences, inputDefaults); } if (criteriaProcessor.prepareNextCommand(this.getContext().getVariableContext())) { return super.prepareNextCommand(atomicCommand); } return false; }
/** * @see org.teiid.query.processor.relational.AccessNode#prepareNextCommand(org.teiid.query.sql.lang.Command) */ protected boolean prepareNextCommand(Command atomicCommand) throws TeiidComponentException, TeiidProcessingException { if (this.criteriaProcessor == null) { this.criteriaProcessor = new DependentProcedureCriteriaProcessor(this, (Criteria)inputCriteria.clone(), inputReferences, inputDefaults); } if (criteriaProcessor.prepareNextCommand(this.getContext().getVariableContext())) { return super.prepareNextCommand(atomicCommand); } return false; }
/** * @see org.teiid.query.processor.relational.PlanExecutionNode#prepareNextCommand() */ protected boolean prepareNextCommand() throws BlockedException, TeiidComponentException, TeiidProcessingException { if (this.criteriaProcessor == null) { this.criteriaProcessor = new DependentProcedureCriteriaProcessor(this, (Criteria)inputCriteria.clone(), inputReferences, inputDefaults); } return criteriaProcessor.prepareNextCommand(this.getProcessorPlan().getContext().getVariableContext()); }
/** * @see org.teiid.query.processor.relational.AccessNode#prepareNextCommand(org.teiid.query.sql.lang.Command) */ protected boolean prepareNextCommand(Command atomicCommand) throws TeiidComponentException, TeiidProcessingException { if (this.criteriaProcessor == null) { this.criteriaProcessor = new DependentProcedureCriteriaProcessor(this, (Criteria)inputCriteria.clone(), inputReferences, inputDefaults); } if (criteriaProcessor.prepareNextCommand(this.getContext().getVariableContext())) { return super.prepareNextCommand(atomicCommand); } return false; }
/** * @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()); }