@Internal public interface SqlCommandParser
Modifier and Type | Method and Description |
---|---|
Optional<Command> |
parseStatement(String statement)
Parses given statement.
|
Optional<Command> parseStatement(String statement)
statement
- the sql client input to evaluate.Command
parsed. It would be empty when the statement is
"" or ";".SqlExecutionException
- if any error happen while parsing or validating the statement.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.