org.jminor.common.db
Interface DatabaseConnection.Function

All Superinterfaces:
DatabaseConnection.Operation
Enclosing interface:
DatabaseConnection

public static interface DatabaseConnection.Function
extends DatabaseConnection.Operation

A database function


Method Summary
 List<Object> execute(DatabaseConnection connection, Object... arguments)
          Executes this function with the given connection
 
Methods inherited from interface org.jminor.common.db.DatabaseConnection.Operation
getID, getName
 

Method Detail

execute

List<Object> execute(DatabaseConnection connection,
                     Object... arguments)
                     throws DatabaseException
Executes this function with the given connection

Parameters:
connection - the db connection to use when executing
arguments - the function arguments, if any
Returns:
the function return arguments
Throws:
DatabaseException - in case of an exception during the execution