Re: Adapter usage of RexImpTable

2020-05-18 Thread Rui Wang
RexToLixTranslator offers some public static methods to help you translate things to expressions (Ling4j). E.g. RexToLixTranslator.translateProjects might be what you need the most. After you get expressions, a way I know to execute it is by utilizing Janino [1] to compile expressions to bytecode

Adapter usage of RexImpTable

2020-05-18 Thread Jon Pither
Hi, Is it possible for an adapter to leverage RexImpTable to handle calculations? >From RexImpTable I can get an Implementor for a given operation in a RexCall, but then the implement method that would generate an expression, takes a RexToLixTranslator. The RexToLixTranslator has a private