Package org.h2.schema

Class UserDefinedFunction

All Implemented Interfaces:
HasSQL
Direct Known Subclasses:
FunctionAlias, UserAggregate

public abstract class UserDefinedFunction extends SchemaObject
User-defined Java function or aggregate function.
  • Field Details

  • Constructor Details

    • UserDefinedFunction

      UserDefinedFunction(Schema newSchema, int id, String name, int traceModuleId)
  • Method Details

    • getCreateSQLForCopy

      public final String getCreateSQLForCopy(Table table, String quotedName)
      Description copied from class: DbObject
      Build a SQL statement to re-create the object, or to create a copy of the object with a different name or referencing a different table
      Specified by:
      getCreateSQLForCopy in class DbObject
      Parameters:
      table - the new table
      quotedName - the quoted name
      Returns:
      the SQL statement
    • checkRename

      public final void checkRename()
      Description copied from class: DbObject
      Check if renaming is allowed. Does nothing when allowed.
      Overrides:
      checkRename in class DbObject
    • getJavaClassName

      public final String getJavaClassName()