Interface IFunction

All Superinterfaces:
ISearchPath, IStatement
All Known Implementing Classes:
AbstractFunction, AbstractMsClrFunction, AbstractMsFunction, AbstractPgFunction, ChFunction, MetaFunction, MsClrFunction, MsClrProcedure, MsFunction, MsProcedure, PgAggregate, PgFunction, PgProcedure

public interface IFunction extends ISearchPath
Interface for database functions, procedures, and aggregates. Provides access to function arguments, return types, and return columns.
  • Method Details

    • getReturns

      String getReturns()
      Gets the return type of this function.
      Returns:
      the return type, or null if not applicable
    • getReturnsColumns

      Map<String,String> getReturnsColumns()
      Gets the return columns for table-valued functions.
      Returns:
      a map of column names to their types
    • getArguments

      List<Argument> getArguments()
      Gets the list of function arguments.
      Returns:
      the list of arguments
    • setReturns

      void setReturns(String returns)
      Sets the return type of this function.
      Parameters:
      returns - the return type to set