public interface Parser
While the parser API will probably not change between versions, the functionality itself may be subject to change in future releases.
Modifier and Type | Method and Description |
---|---|
Queries |
parse(java.lang.String sql)
Parse a SQL string to a set of queries.
|
Queries |
parse(java.lang.String sql,
java.lang.Object... bindings)
Parse a SQL string with bind variables to a set of queries.
|
Condition |
parseCondition(java.lang.String sql)
Parse a SQL string to a condition.
|
Condition |
parseCondition(java.lang.String sql,
java.lang.Object... bindings)
Parse a SQL string with bind variables to a condition.
|
Field<?> |
parseField(java.lang.String sql)
Parse a SQL string to a field.
|
Field<?> |
parseField(java.lang.String sql,
java.lang.Object... bindings)
Parse a SQL string with bind variables to a field.
|
Name |
parseName(java.lang.String sql)
Parse a SQL string to a name.
|
Name |
parseName(java.lang.String sql,
java.lang.Object... bindings)
Parse a SQL string with bind variables to a name.
|
Query |
parseQuery(java.lang.String sql)
Parse a SQL string to a query.
|
Query |
parseQuery(java.lang.String sql,
java.lang.Object... bindings)
Parse a SQL string with bind variables to a query.
|
ResultQuery<?> |
parseResultQuery(java.lang.String sql)
Parse a SQL string to a result query.
|
ResultQuery<?> |
parseResultQuery(java.lang.String sql,
java.lang.Object... bindings)
Parse a SQL string with bind variables to a result query.
|
Row |
parseRow(java.lang.String sql)
Parse a SQL string to a row.
|
Row |
parseRow(java.lang.String sql,
java.lang.Object... bindings)
Parse a SQL string with bind variables to a row.
|
Table<?> |
parseTable(java.lang.String sql)
Parse a SQL string to a table.
|
Table<?> |
parseTable(java.lang.String sql,
java.lang.Object... bindings)
Parse a SQL string with bind variables to a table.
|
@Support @PlainSQL Queries parse(java.lang.String sql) throws ParserException
sql
- The SQL stringParserException
- If the SQL string could not be parsed.@Support @PlainSQL Queries parse(java.lang.String sql, java.lang.Object... bindings) throws ParserException
sql
- The SQL stringbindings
- The bind variablesParserException
- If the SQL string could not be parsed.@Support @PlainSQL Query parseQuery(java.lang.String sql) throws ParserException
sql
- The SQL stringParserException
- If the SQL string could not be parsed.@Support @PlainSQL Query parseQuery(java.lang.String sql, java.lang.Object... bindings) throws ParserException
sql
- The SQL stringbindings
- The bind variablesParserException
- If the SQL string could not be parsed.@Support @PlainSQL ResultQuery<?> parseResultQuery(java.lang.String sql) throws ParserException
sql
- The SQL stringParserException
- If the SQL string could not be parsed.@Support @PlainSQL ResultQuery<?> parseResultQuery(java.lang.String sql, java.lang.Object... bindings) throws ParserException
sql
- The SQL stringbindings
- The bind variablesParserException
- If the SQL string could not be parsed.@Support @PlainSQL Table<?> parseTable(java.lang.String sql) throws ParserException
sql
- The SQL stringParserException
- If the SQL string could not be parsed.@Support @PlainSQL Table<?> parseTable(java.lang.String sql, java.lang.Object... bindings) throws ParserException
sql
- The SQL stringbindings
- The bind variablesParserException
- If the SQL string could not be parsed.@Support @PlainSQL Field<?> parseField(java.lang.String sql) throws ParserException
sql
- The SQL stringParserException
- If the SQL string could not be parsed.@Support @PlainSQL Field<?> parseField(java.lang.String sql, java.lang.Object... bindings) throws ParserException
sql
- The SQL stringbindings
- The bind variablesParserException
- If the SQL string could not be parsed.@Support @PlainSQL Row parseRow(java.lang.String sql) throws ParserException
sql
- The SQL stringParserException
- If the SQL string could not be parsed.@Support @PlainSQL Row parseRow(java.lang.String sql, java.lang.Object... bindings) throws ParserException
sql
- The SQL stringbindings
- The bind variablesParserException
- If the SQL string could not be parsed.@Support @PlainSQL Condition parseCondition(java.lang.String sql) throws ParserException
sql
- The SQL stringParserException
- If the SQL string could not be parsed.@Support @PlainSQL Condition parseCondition(java.lang.String sql, java.lang.Object... bindings) throws ParserException
sql
- The SQL stringbindings
- The bind variablesParserException
- If the SQL string could not be parsed.@Support @PlainSQL Name parseName(java.lang.String sql) throws ParserException
sql
- The SQL stringParserException
- If the SQL string could not be parsed.@Support @PlainSQL Name parseName(java.lang.String sql, java.lang.Object... bindings) throws ParserException
sql
- The SQL stringbindings
- The bind variablesParserException
- If the SQL string could not be parsed.Copyright © 2018. All Rights Reserved.