- 
 public interface ParserThis is experimental functionality.While the parser API will probably not change between versions, the functionality itself may be subject to change in future releases. - Author:
- Lukas Eder
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Queriesparse(String sql)Parse a SQL string to a set of queries.Queriesparse(String sql, Object... bindings)Parse a SQL string with bind variables to a set of queries.ConditionparseCondition(String sql)Parse a SQL string to a condition.ConditionparseCondition(String sql, Object... bindings)Parse a SQL string with bind variables to a condition.Field<?>parseField(String sql)Parse a SQL string to a field.Field<?>parseField(String sql, Object... bindings)Parse a SQL string with bind variables to a field.NameparseName(String sql)Parse a SQL string to a name.NameparseName(String sql, Object... bindings)Parse a SQL string with bind variables to a name.QueryparseQuery(String sql)Parse a SQL string to a query.QueryparseQuery(String sql, Object... bindings)Parse a SQL string with bind variables to a query.ResultQuery<?>parseResultQuery(String sql)Parse a SQL string to a result query.ResultQuery<?>parseResultQuery(String sql, Object... bindings)Parse a SQL string with bind variables to a result query.RowparseRow(String sql)Parse a SQL string to a row.RowparseRow(String sql, Object... bindings)Parse a SQL string with bind variables to a row.Select<?>parseSelect(String sql)Parse a SQL string to a select statement.Select<?>parseSelect(String sql, Object... bindings)Parse a SQL string to a select statement.StatementparseStatement(String sql)Parse a SQL string to a procedural statement.StatementparseStatement(String sql, Object... bindings)Parse a SQL string with bind variables to a procedural statement.BlockparseStatements(String sql)Parse a SQL string to a set of procedural statements.BlockparseStatements(String sql, Object... bindings)Parse a SQL string with bind variables to a set of procedural statements.Table<?>parseTable(String sql)Parse a SQL string to a table.Table<?>parseTable(String sql, Object... bindings)Parse a SQL string with bind variables to a table.
 
- 
- 
- 
Method Detail- 
parse@Support @PlainSQL Queries parse(String sql) throws ParserException Parse a SQL string to a set of queries.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parse@Support @PlainSQL Queries parse(String sql, Object... bindings) throws ParserException Parse a SQL string with bind variables to a set of queries.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseQuery@Support @PlainSQL Query parseQuery(String sql) throws ParserException Parse a SQL string to a query.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseQuery@Support @PlainSQL Query parseQuery(String sql, Object... bindings) throws ParserException Parse a SQL string with bind variables to a query.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseStatement@Support @PlainSQL Statement parseStatement(String sql) throws ParserException Parse a SQL string to a procedural statement.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseStatement@Support @PlainSQL Statement parseStatement(String sql, Object... bindings) throws ParserException Parse a SQL string with bind variables to a procedural statement.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseStatements@Support @PlainSQL @Pro Block parseStatements(String sql) throws ParserException Parse a SQL string to a set of procedural statements.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseStatements@Support @PlainSQL @Pro Block parseStatements(String sql, Object... bindings) throws ParserException Parse a SQL string with bind variables to a set of procedural statements.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseResultQuery@Support @PlainSQL ResultQuery<?> parseResultQuery(String sql) throws ParserException Parse a SQL string to a result query.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseResultQuery@Support @PlainSQL ResultQuery<?> parseResultQuery(String sql, Object... bindings) throws ParserException Parse a SQL string with bind variables to a result query.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseSelect@Support @PlainSQL Select<?> parseSelect(String sql) throws ParserException Parse a SQL string to a select statement.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseSelect@Support @PlainSQL Select<?> parseSelect(String sql, Object... bindings) throws ParserException Parse a SQL string to a select statement.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseTable@Support @PlainSQL Table<?> parseTable(String sql) throws ParserException Parse a SQL string to a table.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseTable@Support @PlainSQL Table<?> parseTable(String sql, Object... bindings) throws ParserException Parse a SQL string with bind variables to a table.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseField@Support @PlainSQL Field<?> parseField(String sql) throws ParserException Parse a SQL string to a field.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseField@Support @PlainSQL Field<?> parseField(String sql, Object... bindings) throws ParserException Parse a SQL string with bind variables to a field.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseRow@Support @PlainSQL Row parseRow(String sql) throws ParserException Parse a SQL string to a row.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseRow@Support @PlainSQL Row parseRow(String sql, Object... bindings) throws ParserException Parse a SQL string with bind variables to a row.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseCondition@Support @PlainSQL Condition parseCondition(String sql) throws ParserException Parse a SQL string to a condition.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseCondition@Support @PlainSQL Condition parseCondition(String sql, Object... bindings) throws ParserException Parse a SQL string with bind variables to a condition.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseName@Support @PlainSQL Name parseName(String sql) throws ParserException Parse a SQL string to a name.- Parameters:
- sql- The SQL string
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 - 
parseName@Support @PlainSQL Name parseName(String sql, Object... bindings) throws ParserException Parse a SQL string with bind variables to a name.- Parameters:
- sql- The SQL string
- bindings- The bind variables
- Throws:
- ParserException- If the SQL string could not be parsed.
 
 
- 
 
-