Converting expressions to execution plans

    公开(公告)号:US20050131891A1

    公开(公告)日:2005-06-16

    申请号:US11050177

    申请日:2005-02-02

    IPC分类号: G06F7/00 G06F17/30

    摘要: Methods, systems, and computer program products for converting a single expression referencing multiple branches within a hierarchical schema into multiple expressions referencing a single branch of the hierarchical schema. The single expression includes expression components that identify branches within the hierarchical schema. Relative to a given branch, any branches referenced by a given expression component are identified. The identified branches are stored as new branches. If no branch is identified, the current branch may be removed as inconsistent. Storage for current branches is cleared, the new branches are copied to the current branches, and the process is repeated for each expression component. An expression component may include a predicate for determining which branches are referenced. The predicate may include predicate expressions that are converted to predicate branches and the predicate may include predicate operators. Predicate operators are combined with predicate branches to identify all branches referenced by the predicate.

    Manipulating schematized data in a database
    2.
    发明申请
    Manipulating schematized data in a database 有权
    在数据库中操作图形化数据

    公开(公告)号:US20050154705A1

    公开(公告)日:2005-07-14

    申请号:US11049153

    申请日:2005-02-02

    IPC分类号: G06F17/30 G06F7/00

    摘要: Methods, systems, and computer program products for accessing data where the data store provider is abstracted from both the data manipulation language used to access the data and the schema that describes the data. A received request structured in accordance with the data manipulation language is represented in an intermediate form. From the intermediate representation, a native request for any of one or more data store providers may be produced. Before being returned to the requestor, a native response from data store provider may be formatted so that it is structured in accordance with the data manipulation language used for the request. A given request received by one computer system may cause a procedure to be generated for accessing the data store provider. When a later request is received by second computer system, the previously generated stored procedure may be reused if applicable.

    摘要翻译: 用于访问数据存储提供者从用于访问数据的数据操作语言和描述数据的模式中抽取数据的方法,系统和计算机程序产品。 根据数据操作语言构造的接收到的请求以中间形式表示。 从中间表示可以产生对一个或多个数据存储提供者中的任何一个的本机请求。 在返回给请求者之前,来自数据存储提供者的本地响应可以被格式化,使得根据用于该请求的数据操作语言被构造。 一个计算机系统接收到的给定请求可能导致生成用于访问数据存储提供者的过程。 当第二计算机系统接收到稍后的请求时,如果适用,可以重新使用先前生成的存储过程。