发明授权
- 专利标题: Efficient evaluation of XQuery and XPath full text extension
- 专利标题(中): 高效评估XQuery和XPath全文扩展
-
申请号: US12388249申请日: 2009-02-18
-
公开(公告)号: US08312030B2公开(公告)日: 2012-11-13
- 发明人: Zhen Hua Liu , Thomas Baby , Sukhendu Chakraborty , Anguel Novoselsky
- 申请人: Zhen Hua Liu , Thomas Baby , Sukhendu Chakraborty , Anguel Novoselsky
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Hickman Palermo Truong Becker Bingham Wong LLP
- 代理商 Daniel D. Ledesma
- 主分类号: G06F17/30
- IPC分类号: G06F17/30 ; G06F7/00
摘要:
Techniques are provided for efficiently evaluating XML queries that conform to an extension of an XML language (e.g., XQuery or XPath). The extension allows XML queries to have full-text search capabilities. Such an XML query is compiled to generate a tree of nodes that correspond to one or more conditions in the full-text portion of the query. In one technique, the amount of memory for the execution state of the tree is determined at compile time and allocated only once throughout execution of the query. In another technique, to ensure at most a single scan of a document, all the words or phrases in the full-text portion of an XML query are located before any of the other conditions in the full-text portion are evaluated. In another technique, the elements of the full-text portion of an XML query are analyzed to determine, based at least in part on cost, which evaluation strategy, of a plurality of evaluation strategies, should be employed.
公开/授权文献
信息查询