Constructor and Description |
---|
SqlCommandParserImpl(Executor executor,
String sessionId) |
Modifier and Type | Method and Description |
---|---|
Optional<Operation> |
parseCommand(String stmt)
Parses given command statement.
|
public Optional<Operation> parseCommand(String stmt) throws SqlParserException
stmt
- the sql client command to evaluate.Operation
parsed. It would be empty when the command is
"" or ";".SqlParserException
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.