Techniques for managing XML data associated with multiple execution units
    11.
    发明授权
    Techniques for managing XML data associated with multiple execution units 有权
    用于管理与多个执行单元相关联的XML数据的技术

    公开(公告)号:US08949220B2

    公开(公告)日:2015-02-03

    申请号:US10810152

    申请日:2004-03-26

    IPC分类号: G06F17/30 G06F7/00

    CPC分类号: G06F17/3092

    摘要: Techniques for managing XML data associated with multiple execution units ensure that execution units are able to use XML data coming from other execution units. Such techniques are applicable when, but for the technique, an XML type value is produced in a particular form by one execution unit and is supposed to be consumed by another execution unit that is unable to process data in the particular form, and involves detecting that the foregoing situation exists and annotating information sent to an XML producer execution unit to cause the XML type value to be transformed into a canonical form that can be shared by all relevant execution units.

    摘要翻译: 用于管理与多个执行单元相关联的XML数据的技术确保执行单元能够使用来自其他执行单元的XML数据。 这种技术适用于但是对于技术而言,XML类型值由一个执行单元以特定形式产生并且被假定由不能处理特定形式的数据的另一执行单元消耗,并且涉及检测该 存在上述情况并且向XML生成器执行单元注释信息,以使XML类型值被转换成可由所有相关执行单元共享的规范形式。

    Technique of using XMLType tree as the type infrastructure for XML
    13.
    发明申请
    Technique of using XMLType tree as the type infrastructure for XML 有权
    使用XMLType树作为XML类型基础设施的技术

    公开(公告)号:US20060031233A1

    公开(公告)日:2006-02-09

    申请号:US11044472

    申请日:2005-01-26

    IPC分类号: G06F7/00

    CPC分类号: G06F17/2247

    摘要: A universal format is used to create a type representation of XMLType instances that are generated in various ways from various sources. An XMLType Type Tree is represented as a hierarchy of nodes, including leaf item node, composite item node, operator node, aggregate node, referred to herein as an XMLType Type Tree. An XMLType Type Tree serves as a digest of the type structure of XMLType, no matter the source of the XMLType instance or its manner of its generation and it creates one uniform abstraction of the type structure of XMLType for the data-typing analysis of XPath and XQuery during query compile time.

    摘要翻译: 通用格式用于创建以各种方式生成的XMLType实例的类型表示形式。 XMLType类型树被表示为节点的层次结构,包括叶项目节点,复合项目节点,运营商节点,聚合节点,这里称为XMLType类型树。 XMLType类型树作为XMLType的类型结构的摘要,无论XMLType实例的来源或其生成方式如何,它都会为XPath的数据类型分析创建XMLType类型结构的一个统一抽象, 查询编译期间的XQuery。

    Method and mechanism for handling arbitrarily-sized XML in SQL operator tree
    14.
    发明授权
    Method and mechanism for handling arbitrarily-sized XML in SQL operator tree 有权
    在SQL运算符树中处理任意大小的XML的方法和机制

    公开(公告)号:US07873645B2

    公开(公告)日:2011-01-18

    申请号:US10656800

    申请日:2003-09-05

    IPC分类号: G06F7/00 G06F17/30

    摘要: Disclosed is a method and mechanism for processing expressions and operator trees. An approach is particularly useful to optimize processing of XML statements with respect to SQL operators. A top-down processing approach can be taken to directly output data from operators to a data stream. In addition, multiple processing approaches can be taken within a single expression tree, with some operators processed using the top-down approach and other operators processed with the bottom-up approach. Even data that can not be streamed is copied fewer times using this approach, intermediate values from bottom-up processing may still be streamed if it is used by an operator that is eligible for top-down processing.

    摘要翻译: 公开了一种处理表达式和运算符树的方法和机制。 一种方法对于优化与SQL操作符相关的XML语句的处理特别有用。 可以采用自上而下的处理方式将数据从运算符直接输出到数据流。 此外,可以在单个表达式树中采用多种处理方法,一些运算符使用自上而下的方法进行处理,其他运算符也使用自下而上的方法进行处理。 即使不能流式传输的数据也可以使用这种方法被复制较少次,如果由符合自上而下处理的操作符使用,则自下而上处理的中间值可能仍然被流式传输。

    Processing queries against one or more markup language sources
    15.
    发明授权
    Processing queries against one or more markup language sources 有权
    处理针对一个或多个标记语言源的查询

    公开(公告)号:US07668806B2

    公开(公告)日:2010-02-23

    申请号:US10948536

    申请日:2004-09-22

    IPC分类号: G06F17/30

    摘要: Techniques are provided for processing a query, including receiving the query, where the query specifies certain operations to be performed, including (a) a first set of one or more operations that are to be performed on a markup language data source and (b) a second set of one or more operations that are to be performed on a second data source. Then it is determined that a first server that manages the markup language data source is capable of performing the first set of operations. A request is sent to the first server to perform the first set of operations. A response is received, where the response contains results of performing the first set of operations on the markup language data source. Finally, results are generated for the query based at least in part on the results of performing the first set of operations.

    摘要翻译: 提供了用于处理查询的技术,包括接收查询,其中查询指定要执行的某些操作,包括(a)要在标记语言数据源上执行的一个或多个操作的第一组,以及(b) 要在第二数据源上执行的一个或多个操作的第二组。 然后,确定管理标记语言数据源的第一服务器能够执行第一组操作。 发送请求到第一台服务器执行第一组操作。 收到响应,其中响应包含对标记语言数据源执行第一组操作的结果。 最后,至少部分地基于执行第一组操作的结果为查询生成结果。

    Techniques for efficient integration of text searching with queries over XML data
    17.
    发明授权
    Techniques for efficient integration of text searching with queries over XML data 有权
    通过XML数据高效集成文本搜索与查询的技术

    公开(公告)号:US07305414B2

    公开(公告)日:2007-12-04

    申请号:US11099918

    申请日:2005-04-05

    IPC分类号: G06F17/30

    摘要: A method and apparatus for rewriting a database command containing an embedded XML expression such that the rewritten database command recites a text function, in lieu of the embedded XML expression, is provided. Advantageously, a DBMS may take advantage of the efficiencies in storing XML data within the database, while avoiding the generation of unnecessary XML elements in processing the query when the XML elements contribute nothing to the outcome of the query. Cost-base or rule-based analysis may be performed to determine how to rewrite a received database command. The database server may functionally evaluate the text function or may use an index defined on a column of the database. The text function may function as a primary filter or may reference a column upon which an index is defined, wherein the index operates at the same or higher level than a column being referenced in the embedded XML expression.

    摘要翻译: 提供一种用于重写包含嵌入式XML表达式的数据库命令的方法和装置,使得重写的数据库命令背景文本功能代替嵌入的XML表达。 有利地,DBMS可以利用在数据库中存储XML数据的效率,同时避免在XML元素对查询的结果没有贡献时在处理查询时生成不必要的XML元素。 可以执行基于成本或基于规则的分析来确定如何重写接收到的数据库命令。 数据库服务器可以在功能上评估文本功能,或者可以使用在数据库的列上定义的索引。 文本函数可以用作主过滤器,或者可以引用定义索引的列,其中索引在与嵌入式XML表达式中引用的列相同或更高的级别上操作。

    Techniques for providing XQuery access using web services
    19.
    发明授权
    Techniques for providing XQuery access using web services 有权
    使用Web服务提供XQuery访问的技术

    公开(公告)号:US07908286B2

    公开(公告)日:2011-03-15

    申请号:US11007894

    申请日:2004-12-08

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30923 G06F17/30861

    摘要: An XQuery access API is described, for providing access to XML data from a data source, using the XQuery language. A requestor can request, from a server, performance of an operation on XML data, wherein request messages and response messages conform to the Simple Object Access Protocol (SOAP). Request and response messages can be transmitted using Hypertext Transfer Protocol (HTTP) or Hypertext Transfer Protocol over Secure Socket Layer (HTTPS). The format of the request and response messages is specified in a definition of a Web service, where the definition conforms to the Web Service Description Language (WSDL).

    摘要翻译: 描述了一个XQuery访问API,用于使用XQuery语言提供从数据源访问XML数据。 请求者可以从服务器请求执行对XML数据的操作,其中请求消息和响应消息符合简单对象访问协议(SOAP)。 请求和响应消息可以使用超文本传输​​协议(HTTP)或超文本传输​​协议通过安全套接字层(HTTPS)传输。 请求和响应消息的格式在Web服务的定义中指定,其中定义符合Web服务描述语言(WSDL)。

    Techniques of rewriting descendant and wildcard XPath using one or more of SQL OR, UNION ALL, and XMLConcat() construct
    20.
    发明授权
    Techniques of rewriting descendant and wildcard XPath using one or more of SQL OR, UNION ALL, and XMLConcat() construct 有权
    使用SQL OR,UNION ALL和XMLConcat()构造中的一个或多个重写后代和通配符XPath的技术

    公开(公告)号:US07730080B2

    公开(公告)日:2010-06-01

    申请号:US11474038

    申请日:2006-06-23

    IPC分类号: G06F7/00 G06F17/30

    CPC分类号: G06F17/30935

    摘要: A method for processing queries is provided. A first representation of a query is generated, where the query includes a certain operator that is to be performed based on an XPath expression that is expandable into multiple location paths. The first representation of the query is rewritten into a second representation that corresponds to an equivalent query, where rewriting the first representation includes expanding the XPath expression into the plurality of location paths and, based on the certain operator, including a plurality of operators in the second representation, where the plurality of operators include: a first set of operators that is to be performed based on each of the plurality of location paths, and a second set of operators that is to be performed based on data returned from at least one operator included in the first set of operators. The query may thereafter be executed based on the second representation. The second representation may be further rewritten to third representation depending on the physical storage of XML.

    摘要翻译: 提供了一种处理查询的方法。 生成查询的第一个表示形式,其中查询包含一个基于可扩展到多个位置路径的XPath表达式执行的某个运算符。 查询的第一表示被重写成对应于等效查询的第二表示,其中重写第一表示包括将XPath表达式扩展到多个位置路径中,并且基于特定运算符,包括多个运算符 第二表示,其中所述多个运算符包括:将基于所述多个位置路径中的每一个来执行的第一组运算符,以及将基于从至少一个运算符返回的数据来执行的第二组运算符 包含在第一组运算符中。 此后可以基于第二表示来执行查询。 取决于XML的物理存储,第二表示可以进一步重写为第三表示。