if (!proc.isProcedureRelational()) {
continue;
}
HashSet inputSymbols = new HashSet();
List inputReferences = new LinkedList();
PlanNode critNode = node.getParent();
List conjuncts = new LinkedList();
HashSet coveredParams = new HashSet();
//List preExecNodes = new LinkedList();
for (Iterator params = proc.getInputParameters().iterator(); params.hasNext();) {
SPParameter param = (SPParameter)params.next();
ElementSymbol symbol = param.getParameterSymbol();
Expression input = param.getExpression();
inputReferences.add(input);
inputSymbols.add(symbol);
}
findInputNodes(inputSymbols, critNode, conjuncts, coveredParams);
List defaults = new LinkedList();
for (Iterator params = inputReferences.iterator(); params.hasNext();) {
Reference ref = (Reference)params.next();
ElementSymbol symbol = ref.getExpression();
Expression defaultValue = null;
/*try {
defaultValue = ResolverUtil.getDefault(symbol, metadata);
} catch (QueryResolverException qre) {
//Just ignore
}*/
defaults.add(defaultValue);
if (defaultValue == null && !coveredParams.contains(symbol)) {
throw new QueryPlannerException(QueryPlugin.Util.getString("RulePlanProcedures.no_values", symbol)); //$NON-NLS-1$
}
}
/*if (conjuncts.isEmpty()) {