mdproctor commented on issue #770:
URL: 
https://github.com/apache/incubator-kie-issues/issues/770#issuecomment-1856948270

   -Changes the indexing to take a TupleValueExtractor for the left operand and 
the right operand - previously, it used a ReadAccessor for the right Operand. 
This creates consistency in the indexing API, and also removes a link to an 
interface we hope to stop using one day. 
   -Revives the IndexSpec and lambda calls to support multi-variable inputs.
   -BetaConstraints can implement Lambda directly, and the engine optimises for 
this direct call. Note it means Lambdas has to implement BetaConstraints and 
BetaConstraint.
   -It avoids the ContextEntry[] array return by using generics. It's wasteful 
to create an array for BetaConstraints that only have a single entry. Note that 
Lambdas technically don't need a ContextEntry any more, but it's too hard to 
remove that in the code right now and keep the rest of the code working.
   -Adds a unit test demonstrating how to write a flat Lambda that supports 
expressions with multi-variable input for indexes. Note this test adds its own 
help predicate/function classes etc, to avoid bringing -model onto the 
classpath.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to