Interface SqlCommandParser

    • Method Detail

      • parseStatement

        Optional<Command> parseStatement​(String statement)
        Parses given statement.
        Parameters:
        statement - the sql client input to evaluate.
        Returns:
        the optional value of Command parsed. It would be empty when the statement is "" or ";".
        Throws:
        SqlExecutionException - if any error happen while parsing or validating the statement.