会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 2. 发明申请
    • System and method for providing user defined aggregates in a database system
    • 在数据库系统中提供用户定义的聚合的系统和方法
    • US20050177579A1
    • 2005-08-11
    • US10775982
    • 2004-02-10
    • Jose BlakeleyHongang ZhangBalaji RathakrishnanRamachandran VenkateshBeysim SezginAlexios BoukouvalasCesar Galindo-LegariaPeter Carlin
    • Jose BlakeleyHongang ZhangBalaji RathakrishnanRamachandran VenkateshBeysim SezginAlexios BoukouvalasCesar Galindo-LegariaPeter Carlin
    • G06F7/00G06F17/30
    • G06F17/30607G06F17/30412G06F17/30421Y10S707/955Y10S707/99944
    • A database system and method allows a user to write program code in a high-level programming language that implements a class that defines the structure of a user-defined aggregate and methods that can be invoked on instances of the user-defined aggregate. The class is then registered with the database system, which enforces a specific contract for user-defined aggregates against the class. The contract comprises the following requirements. First, the class must specify one of a plurality of different formats for persisting instances of the user-defined aggregate in a database store. Second, the class must 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 with the user-defined aggregate, a third method that can be invoked to merge an instance of the user-defined aggregate with another partial aggregation, and a fourth method that can be invoked to compute a final result of an instance of the user-defined aggregate. Once these requirements are satisfied, the database system enables instances of the user-defined aggregate to be created. Preferably, the database system stores metadata about the user-defined aggregate for subsequent use in creating instances of the aggregate.
    • 数据库系统和方法允许用户以高级编程语言编写程序代码,该语言实现定义用户定义聚合的结构的类,以及可以在用户定义聚合的实例上调用的方法。 该类然后向数据库系统注册,该数据库系统针对类强制执行用户定义的聚合的特定合同。 合同包括以下要求。 首先,类必须为数据库存储中用户定义聚合的持久化实例指定多种不同格式之一。 第二,类必须包括可被调用以初始化用户定义聚合的实例的计算的第一方法,可以被调用以累积要与用户定义的聚合聚合的多个值的第二方法, 可以调用以将用户定义聚合的实例与另一部分聚合合并的第三种方法,以及可以调用以计算用户定义聚合的实例的最终结果的第四种方法。 一旦满足这些要求,数据库系统就可以创建用户定义聚合的实例。 优选地,数据库系统存储关于用户定义聚合的元数据,用于随后用于创建聚合的实例。