| |
|
| java.lang.Object org.h2.command.Parser
Parser | public class Parser (Code) | | The parser is used to convert a SQL statement string to an command object.
|
isKeyword | public static boolean isKeyword(String s)(Code) | | Checks if this string is a SQL keyword.
Parameters: s - the token to check true if it is a keyword |
parseExpression | public Expression parseExpression(String sql) throws SQLException(Code) | | Parse a SQL code snippet that represents an expression.
Parameters: sql - the code snippet the expression object throws: SQLException - if the code snipped could not be parsed |
parseOnly | public Prepared parseOnly(String sql) throws SQLException(Code) | | Parse the statement, but don't prepare it for execution.
Parameters: sql - the SQL statement to parse the prepared object |
prepare | public Prepared prepare(String sql) throws SQLException(Code) | | Parse the statement and prepare it for execution.
Parameters: sql - the SQL statement to parse the prepared object |
prepareCommand | public Command prepareCommand(String sql) throws SQLException(Code) | | Parse a statement or a list of statements, and prepare it for execution.
Parameters: sql - the SQL statement to parse the command object |
quoteIdentifier | public static String quoteIdentifier(String s)(Code) | | Add double quotes around an identifier if required.
Parameters: s - the identifier the quoted identifier |
setRightsChecked | public void setRightsChecked(boolean rightsChecked)(Code) | | |
|
|
|