What does the acc stand for in SQL Group Operators of Drools ?

Solution Unverified - Updated -

Issue

  • There are some work going on towards Enhancements for drools in JBoss community as seen here [1] .
    In the following example of SQL Group Operators section there seems to be a new word acc being introduced to the get distinct People, by location and age.
acc( $p : Person();

        [$l, $a] : distinct( $p.location, $p.age) ) // needs to support multi return value bindings

What is the acc out here ? Is it a built-in keyword or function?

[1] DroolsLanguageEnhancements

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.