Initialize the compiler.
An instance of an Escaper that matches the database type (e.g. MySQLEscaper or MSSQLEscaper). This is used for escaping column names.
Compile the parse tree.
A ParseTree object, as created by the ConditionParser.parse method.
An object containing key-value pairs that are used to replace parameters in the query. The compiler verifies that there is a replacement for every parameter, but does not perform the actual replacement.
An optional ColumnLookup instance. When provided, the name of each column in the condition will be replaced with the value returned from ColumnLookup.getColumn.
The compiled condition as a SQL string.
Get all the columns referenced in the ParseTree and return them as an array. The columns will be distinct (that is, if the same column appears multiple times in the same condition, it will exist in the returned array only once).
The ParseTree, as created by a ConditionParser.
Generated using TypeDoc
A class that compiles a ParseTree, as created by a ConditionParser instance, into a SQL condition.