SYSTEMS AND METHODS FOR TRANSFORMING QUERY RESULTS INTO HIERARCHICAL INFORMATION
    2.
    发明申请
    SYSTEMS AND METHODS FOR TRANSFORMING QUERY RESULTS INTO HIERARCHICAL INFORMATION 失效
    将查询结果转换为分层信息的系统和方法

    公开(公告)号:US20070022103A1

    公开(公告)日:2007-01-25

    申请号:US11536003

    申请日:2006-09-28

    IPC分类号: G06F17/30

    摘要: A computerized system and method for transforming (formatting or aggregating) the results of a query into a hierarchical information stream, such as an eXtensible Markup Language (XML) data stream is disclosed. A database server receives a query and generates a rowset. A rowset processor, using the mode specified in the query, processes the rowset and query to generate the XML data stream. For the “auto1” mode, the rowset processor transforms a rowset into an XML data stream using primary-foreign key information specified in the query to determine nesting. For the “auto2” mode, the rowset processor transforms a rowset into an XML data stream using table ordering information included in the query to determine nesting. For the “explicit” mode, the rowset processor transforms a rowset into an XML data stream using the explicit organizational information specified in the query. In one embodiment, it is easier for a developer to compose expressions to generate nested hierarchical structures than previous formulations and simpler semantics are provided without implicit hierarchy inference. The syntax of an embodiment of the hierarchical formatting function includes optional arguments including a name option, a root option, map option, namespace options and a null option.

    摘要翻译: 公开了一种用于将查询结果(格式化或聚合)为诸如可扩展标记语言(XML)数据流之类的层级信息流的计算机化系统和方法。 数据库服务器接收查询并生成行集。 行集处理器使用查询中指定的模式,处理行集和查询以生成XML数据流。 对于“auto1”模式,行集处理器使用查询中指定的主外键信息将行集转换为XML数据流,以确定嵌套。 对于“auto2”模式,行集处理器使用查询中包含的表排序信息将行集转换为XML数据流,以确定嵌套。 对于“显式”模式,行集处理器使用查询中指定的显式组织信息将行集转换为XML数据流。 在一个实施例中,开发者比以前的配方更容易组合表达式以生成嵌套层次结构,并且在没有隐式层次推理的情况下提供更简单的语义。 分层格式化功能的实施例的语法包括可选参数,包括名称选项,根选项,地图选项,命名空间选项和空选项。