Query optimization method for converting XPath (XML path language) query into tree-form data structure
A data structure and query optimization technology, applied in the fields of XML query optimization and query optimization, can solve the problem that the twig mode query method involves little, and achieve the effect of speeding up the evaluation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] In order to make the purpose, technical solutions and advantages of the present invention clearer, the implementation of the present invention will be further described in detail below in conjunction with the accompanying drawings:
[0019] This embodiment provides a method for converting an XPath query into a query optimization method of a tree data structure, such as figure 1 The method shown includes:
[0020] Step 10 converts the XPath query statement with positional predicates into Abstract Syntax Tree AST (Abstract Syntax Tree);
[0021] The above XPath query statement is simplified into an abstract syntax tree through lexical and grammatical analysis.
[0022] Step 20 converts different types of node objects in the abstract syntax tree AST into node objects in the twig pattern tree structure.
[0023] Traversing the abstract syntax tree from top to bottom, each AST node object calls its corresponding conversion interface, and converts it into the corresponding ...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap