Michael Hunger wrote:
> In general separation of construction and use is always a good thing (tm).
> 
> As the query is just an expression tree applied to a source or rendered to a
> query language representation it shouldn't rely on the query source for 
> construction.
> 
> Except when using generic type information for typesafe dsl (fluent) like api 
> based on
> the actual type of the iterator source. That could then also be achieved by 
> giving
> the class (or an instance) of the data type to start the query on.

So that's a "+1" for moving source selection to Query?

/Rickard



_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to