Interface DatabaseFunction<C,​T,​R>

  • Type Parameters:
    C - the connection type required by this function
    T - the argument type
    R - the return type

    public interface DatabaseFunction<C,​T,​R>
    A database function
    • Method Detail

      • execute

        R execute​(C connection,
                  T argument)
           throws DatabaseException
        Executes this function with the given connection
        connection - the connection being used to execute this function
        argument - the function argument, if any
        the function return argument
        DatabaseException - in case of an exception during the execution