I am trying to
- Override assign operator(
=) in JEXL3 with equals functionality to make it support SQL like statements to support below statement:
WHERE A=B
- And SQL like IN operator support in JEXL3 so that it should support below statements:
WHERE column_name IN (value1, value2, ...)
What classes I need to override to make it work. Any help will be appreciated?
Modifying the JEXL syntax and interpreter to turn into a SQL one seems overly complicated; you would have to start with the grammar in parser.jjt but I'd advise against such an endeavour.