Class DefaultQueryHandler

    • Constructor Detail

      • DefaultQueryHandler

        public DefaultQueryHandler​(CommandAdapter cmdAdapter)
    • Method Detail

      • run

        public <T> T run()
        Description copied from interface: CommandHandler
        Execute the database command
        Specified by:
        run in interface CommandHandler
        Overrides:
        run in class DefaultCommandHandler
        Type Parameters:
        T - Generic type of return, example: rows affected by a command or list of objects.
        Returns:
        the result of the command execution