public final class SqlCommandParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SqlCommandParser.SqlCommandCall
Call of SQL command with operands and command type.
|
Modifier and Type | Method and Description |
---|---|
static SqlCommandParser.SqlCommandCall |
parse(Parser sqlParser,
String stmt)
Parse a sql statement and return corresponding
SqlCommandParser.SqlCommandCall . |
public static SqlCommandParser.SqlCommandCall parse(Parser sqlParser, String stmt)
SqlCommandParser.SqlCommandCall
. If the statement is
invalid, a SqlExecutionException
will be thrown.sqlParser
- The sql parser instancestmt
- The statement to be parsedCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.