[rules-users] Is it possible to implement something similar to a SQL join in Drools ?
soumya_sd
soumya_sd at yahoo.com
Wed Jun 13 08:04:49 EDT 2012
Is it possible to have a rule that creates something similar to a SQL join.
For example, the working memory has the following:
List<Fact_A> and List<Fact_B>.
In the "if" of the drl rule we want to check
if Fact_A.someAttribute (some_condition) Fact_B.someOtherAttribute
//some_condition could be .equals(), .startsWith(), notEquals() ...
then
//somehow Fact_A and Fact_B
Any examples or pointers would be greatly appreciated.
Thanks.
--
View this message in context: http://drools.46999.n3.nabble.com/Is-it-possible-to-implement-something-similar-to-a-SQL-join-in-Drools-tp4017908.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list