Interface DatabaseFunction<C,P extends @Nullable Object,R extends @Nullable Object>

Type Parameters:
C - the connection type required by this function
P - the parameter type, nullable where the function may be executed without one
R - the return type, nullable where the function may return null
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DatabaseFunction<C,P extends @Nullable Object,R extends @Nullable Object>
A database function
See Also:
  • Method Summary

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

    • execute

      R execute(C connection, P parameter)
      Executes this function using the given connection
      Parameters:
      connection - the connection to use
      parameter - the function parameter
      Returns:
      the function return value