×

System and method for providing user defined aggregates in a database system

  • US 20050177579A1
  • Filed: 02/10/2004
  • Published: 08/11/2005
  • Est. Priority Date: 02/10/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method for allowing users to define new aggregates in a database system, comprising:

  • receiving code that implements a class defining the structure of a user-defined aggregate and methods that can be invoked on instances of the user-defined aggregate; and

    enforcing a contract against the class so that the code, when executed at runtime, satisfies requirements of the contract to ensure desired execution thereof, the contract requiring that the class comprise a first method that can be invoked to initialize the computation of an instance of the user-defined aggregate, a second method that can be invoked to accumulate a plurality of values to be aggregated, and a third method that can be invoked to compute a final result of the instance of the user-defined aggregate.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×