Package org.h2.schema

Class UserAggregate

All Implemented Interfaces:
HasSQL

public final class UserAggregate extends UserDefinedFunction
Represents a user-defined aggregate function.
  • Field Details

    • javaClass

      private Class<?> javaClass
  • Constructor Details

    • UserAggregate

      public UserAggregate(Schema schema, int id, String name, String className, boolean force)
  • Method Details

    • getInstance

      public Aggregate getInstance()
    • getDropSQL

      public String getDropSQL()
      Description copied from class: DbObject
      Construct a DROP ... SQL statement for this object.
      Overrides:
      getDropSQL in class DbObject
      Returns:
      the SQL statement
    • getCreateSQL

      public String getCreateSQL()
      Description copied from class: DbObject
      Construct the CREATE ... SQL statement for this object.
      Specified by:
      getCreateSQL in class DbObject
      Returns:
      the SQL statement
    • getType

      public int getType()
      Description copied from class: DbObject
      Get the object type.
      Specified by:
      getType in class DbObject
      Returns:
      the object type
    • removeChildrenAndResources

      public void removeChildrenAndResources(SessionLocal session)
      Description copied from class: DbObject
      Delete all dependent children objects and resources of this object.
      Specified by:
      removeChildrenAndResources in class DbObject
      Parameters:
      session - the session