ModSQL
Interface FunctionProvider

All Known Implementing Classes:
Select, TableReader

public interface FunctionProvider

Classes implementing this interface provide Function objects matching a particular String description on demand. This interface is used by IndirectFunction to lookup column names it holds.

Author:
chris.studholme@utoronto.ca

Method Summary
 Function lookupFunction(String description)
          This method will attempt to find an appropriate function described by the provided description.
 

Method Detail

lookupFunction

public Function lookupFunction(String description)
                        throws SQLException
This method will attempt to find an appropriate function described by the provided description. Depending on local policy, this method may either return null or throw an exception in the case where an appropriate function cannot be found.
Parameters:
description - description of function to look for
Returns:
Function object (possibly null)
Throws:
SQLException - if an error occurs