Interface DatabaseFunction<C,T,R>

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

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

    Modifier and Type
    Method
    Description
    execute(C connection, @Nullable T parameter)
    Executes this function using the given connection
  • Method Details

    • execute

      @Nullable R execute(C connection, @Nullable T parameter)
      Executes this function using the given connection
      Parameters:
      connection - the connection to use
      parameter - the function parameter, if any
      Returns:
      the function return parameter