Package sqlline

Class ReflectiveCommandHandler

    • Constructor Detail

      • ReflectiveCommandHandler

        public ReflectiveCommandHandler​(SqlLine sqlLine,
                                        List<org.jline.reader.Completer> completers,
                                        String... cmds)
      • ReflectiveCommandHandler

        public ReflectiveCommandHandler​(SqlLine sqlLine,
                                        org.jline.reader.Completer completer,
                                        String... cmds)
    • Method Detail

      • execute

        public void execute​(String line,
                            DispatchCallback callback)
        Description copied from interface: CommandHandler
        Executes the specified command.
        Parameters:
        line - The full command line to execute
        callback - the callback to check or interrupt the action