Structured statement execution method and device, storage medium and electronic equipment
Through the structured statement execution method based on ES cluster, SQL Parser parses and converts SQL statements into ES cluster-recognizable formats, solving the problems of ElasticSearch operation complexity and learning cost, realizing deep integration of SQL and ES and simplification of operation.
Patent Information
- Application Number
- CN202510598630.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-08-26
AI Technical Summary
In the prior art, ElasticSearch has high operational complexity, and users need to learn its unique query language, which increases operational difficulty and labor costs, especially in large-scale data environments, lacks flexible and efficient data definition and manipulation functions.
Provide a structured statement execution method based on ES cluster. It parses structured statements through SQL Parser, generates a hierarchical abstract syntax tree, determines the language type based on the syntax tree, and converts SQL statements into a format recognized by the ES cluster, performs corresponding operations, and supports data definition, manipulation, control and query languages.
It reduces the cost of users being familiar with ElasticSearch's native API and syntax, simplifies the operation process, realizes the deep integration of SQL protocol and ElasticSearch, bridges the compatibility gap between ElasticSearch and SQL protocols, and supports DDL, DCL and DML operations.