Class MqlCompiler<T>

java.lang.Object
net.hollowcube.mql.jit.MqlCompiler<T>

public class MqlCompiler<T> extends Object
A compiler for MQL scripts.

Some reflection calls are cached, so this object should be reused as much as possible.

Note: This class is not thread-safe, and must be synchronized externally.

  • Constructor Details

  • Method Details

    • compile

      public Class<T> compile(String script)
    • compileBytecode

      @TestOnly public byte[] compileBytecode(String className, String script)