- java.lang.Object
-
- com.rabbitmq.jms.parse.sql.SqlCompiler
-
-
Constructor Summary
Constructors Constructor Description SqlCompiler(SqlEvaluator eval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringcompile()Return the compiled code.booleancompileOk()Returnstrueif the compiled code is complete and compilation successful,falseotherwise.java.lang.StringgetErrorMessage()This call is idempotent.
-
-
-
Constructor Detail
-
SqlCompiler
public SqlCompiler(SqlEvaluator eval)
-
-
Method Detail
-
compile
public java.lang.String compile()
Description copied from interface:CompilerReturn the compiled code. This call is idempotent.
-
compileOk
public boolean compileOk()
Description copied from interface:CompilerReturnstrueif the compiled code is complete and compilation successful,falseotherwise. This call is idempotent.
-
getErrorMessage
public java.lang.String getErrorMessage()
Description copied from interface:CompilerThis call is idempotent.- Specified by:
getErrorMessagein interfaceCompiler- Returns:
- a message indicating the error during the compilation if there was one.
-
-