Class SqlCompiler

  • All Implemented Interfaces:
    Compiler

    public class SqlCompiler
    extends java.lang.Object
    implements Compiler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String compile()
      Return the compiled code.
      boolean compileOk()
      Returns true if the compiled code is complete and compilation successful, false otherwise.
      java.lang.String getErrorMessage()
      This call is idempotent.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • compile

        public java.lang.String compile()
        Description copied from interface: Compiler
        Return the compiled code. This call is idempotent.
        Specified by:
        compile in interface Compiler
        Returns:
        the compiled code
      • compileOk

        public boolean compileOk()
        Description copied from interface: Compiler
        Returns true if the compiled code is complete and compilation successful, false otherwise. This call is idempotent.
        Specified by:
        compileOk in interface Compiler
        Returns:
        true if the compiled code is complete and successful, false otherwise.
      • getErrorMessage

        public java.lang.String getErrorMessage()
        Description copied from interface: Compiler
        This call is idempotent.
        Specified by:
        getErrorMessage in interface Compiler
        Returns:
        a message indicating the error during the compilation if there was one.