Method and device for querying data
A data query and data source technology, applied in the field of big data, can solve problems such as inability to provide cross-platform, achieve the effect of lowering the learning threshold and improving the efficiency of data query
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] This embodiment provides a data query method. Such as figure 1 Shown is a flow chart of the data query method according to the first embodiment of the present invention.
[0024] Step S110, obtaining a query plan.
[0025] The query plan serves as the basis for data query, and data query is performed by executing the query plan.
[0026] In the query plan, include: data source information and query conditions.
[0027] The data source information includes but not limited to: the path of the data source. Further, the data source information is in one-to-one correspondence with the data source. Data source information can be one or more, so that data can be queried from multiple data sources.
[0028] The query conditions include, but are not limited to: keywords, index information, query scope, query operations, and the number of query results. Among them, query operations include but are not limited to: table union (combining multiple data tables into one data tab...
Embodiment 2
[0077] This embodiment provides a data query device. Such as figure 2 Shown is a structural diagram of a data query device according to the second embodiment of the present invention.
[0078] The data query device includes:
[0079] An acquisition module 210, configured to acquire a query plan;
[0080] A determining module 220, configured to determine the data source information contained in the query plan;
[0081] An escape module 230, configured to perform an escape operation on the query plan according to the data source information;
[0082] The query module 240 is configured to query data from the data source corresponding to the data source information and display the query results according to the query plan after the escape.
[0083] Optionally, the obtaining module 210 is further configured to: obtain the query statement described in the structured query language SQL before determining the data source information contained in the query plan; parse out the data...
PUM
Abstract
Description
Claims
Application Information
- 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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com