Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsETL rule execution
https://www.eclipse.org/forums/index.php/mv/msg/179929/570984/#msg_570984
Just a quick question which I couldn't find an answer to in the Epsilon
book (I might have missed it though):
Does a non-abstract, non-lazy ETL rule only get fired once during a
transformation -- and then the result is cached somewhere? I ask as I was
curious as to whether the following code fragment is bad practice...
var x := sourceComponent.equivalents('ruleX').select(i |
i.isKindOf(SomeClass));
var y := sourceComponent.equivalents('ruleX').select(i |
i.isKindOf(OtherClass));
So, does ruleX get fired 2 times internally, or does its result get stored
somewhere and is just (selectively) retrieved 2 times -- or perhaps I've
just totally missed the target :)?!
I guess this question touches upon some differences between rules and
operations... maybe?