Interface SqlCommandParser
-
- All Known Implementing Classes:
SqlCommandParserImpl
@Internal public interface SqlCommandParserSqlClient command parser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Command>parseStatement(String statement)Parses given statement.
-
-
-
Method Detail
-
parseStatement
Optional<Command> parseStatement(String statement)
Parses given statement.- Parameters:
statement- the sql client input to evaluate.- Returns:
- the optional value of
Commandparsed. It would be empty when the statement is "" or ";". - Throws:
SqlExecutionException- if any error happen while parsing or validating the statement.
-
-