API-based query system and method
A query method and query system technology, applied in database management systems, structured data retrieval, instruments, etc., can solve the problems of inconvenient unified maintenance, scattered queries, and inability to update in time, so as to reduce interface testing time, speed up development, Find easy-to-use effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0070] Reference manual attached figure 1 As shown, the API-based query method of this application is shown, and the method may include the following steps:
[0071] S1. Access the query statement input by the user in the form of a database interface through the receiving module, and send the query statement input by the user to the control module;
[0072] S2. Analyze the query statement input by the user through the control module, compile and customize the corresponding execution plan, including the compilation process and the execution process;
[0073] S3. Receive the query statement input by the user through the compilation process, analyze the JS logic code and query statement, and generate the final ES query statement and java logic processing code after compilation;
[0074] S4. Through the execution process, call the executor to obtain the returned results according to the final ES query statement, and filter or aggregate the results according to the configuration, ...
Embodiment 2
[0122] Embodiment 2, with reference to specification sheet Figure 4 , which shows a query system provided by an embodiment of the present application for executing any of the above API-based query methods, including:
[0123] The receiving module 1 is used to receive the query statement input by the user;
[0124] The control module 2 is used to analyze the query statement input by the user, compile and customize the corresponding execution plan, wherein the control module includes a compilation unit and an execution unit,
[0125] The compiling unit 3 is used for parsing the input query statement and generating the final ES query statement after compiling;
[0126] The execution unit 4 is used to call the executor to obtain the returned result, process the returned result according to the configuration, and the returned result is in the data format required by the user.
[0127] In an optional embodiment, a query statement described in SQL input by a user through a client ...
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