Rob van Maris wrote:

The methods obtainSelectField() and getFunctionParameters() seem to be
concerned with extracting fieldnames from function parameterlists and adding
the fields to the SQL query.

True. The functions do not get evaluated.
What happens is that the ClusterBuidler code determines what fields are needed to execute the function. It then returns those fields in the query.

This means you can call that function later on using Node.getValue(), and still get the result.

You would get the same result when just listing the fieldnames, but when ClusterBuilder was created it was intended to eventually replace MultiRelations, which DOES evalutuate functions and returns the results.
ClusterBuilder can't evaluate beforehand (at least it makes no sense) because it returns a Node with fields, not a Vector with string values.

Pierre





Reply via email to