if (this.params != null) {
for (Map.Entry<ElementSymbol, Expression> entry : this.params.entrySet()) {
ElementSymbol param = entry.getKey();
Expression expr = entry.getValue();
VariableContext context = getCurrentVariableContext();
Object value = this.evaluateExpression(expr);
//check constraint
checkNotNull(param, value);
setParameterValue(param, context, value);
}
}
if (this.implicitParams != null) {
for (Map.Entry<ElementSymbol, Reference> entry : this.implicitParams.entrySet()) {
VariableContext context = getCurrentVariableContext();
Object value = this.evaluateExpression(entry.getValue());
context.setValue(entry.getKey(), value);
}
}
tempTableStore = new TempTableStore(getContext().getConnectionID());
getContext().setTempTableStore(tempTableStore);
}