Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » ETL rule execution
ETL rule execution [message #570984] Thu, 23 July 2009 06:53
No real name is currently offline No real name
Messages: 92
Registered: July 2009
Member
Hi again,

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?

Thanks in advance,

Edd
Previous Topic:EuGENia link attributes
Next Topic:ETL rule execution
Goto Forum:
  


Current Time: Sat Jul 26 01:21:30 EDT 2014

Powered by FUDForum. Page generated in 0.78354 seconds