期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Path-partitioned encoding supports wildcard-awareness twig queries
1
作者 徐小双 冯玉才 王锋 《Journal of Shanghai University(English Edition)》 2009年第5期363-374,共12页
Finding all occurrences of a twig query in an XML database is a core operation for efficient evaluation of XML queries. It is important to effiectively handle twig queries with wildcards. In this paper, a novel path-p... Finding all occurrences of a twig query in an XML database is a core operation for efficient evaluation of XML queries. It is important to effiectively handle twig queries with wildcards. In this paper, a novel path-partitioned encoding scheme is proposed for XML documents to capture paths of all elements, and a twig query is modeled as an XPattern extended from tree pattern. After definition, simplification, normalization, verification and initialization of the XPattern, both work sets and a join plan are generated. According to these measures, an effiective algorithm to answer for a twig query, called DMTwig, is designed without unnecessary elements and invalid structural joins. The algorithm can adaptively deal with twig queries with branch ([ ]), child edge (/), descendant edge (//), and wildcard (*) synthetically. We show that path-partitioned encoding scheme and XPattern guarantee the I/O and CPU optimality for twig queries. Experiments on representative data set indicate that the proposed solution performs significantly. 展开更多
关键词 XML tree pattern structural join encoding scheme twig query
下载PDF
上一页 1 下一页 到第
使用帮助 返回顶部