2 个仓库
Parses SQL strings into an editable object model for programmatic inspection and transformation.
Distinguishing note: No candidate covers SQL parsing into an editable model for refactoring; closest candidates are about ML transformers or object property transformation.
Explore 2 awesome GitHub repositories matching data & databases · SQL Query Object Models. Refine with filters or upvote what's useful.
jOOQ is a type-safe SQL query builder for Java that generates code from live database schemas, enabling compile-time validation of SQL syntax and data types. Its core identity is built around a fluent DSL that mirrors SQL structure, a code generator that maps tables, views, and routines to Java objects, and a multi-dialect engine that translates the same DSL into vendor-specific SQL for over 30 databases. The project also includes a SQL parser and transformer for refactoring or dialect conversion, reactive stream integration for non-blocking query execution, and a JDBC proxy diagnostics tool f
Parses SQL into an editable model and applies pattern-based transformations for refactoring or dialect conversion.
JSqlParser 是一个 Java SQL 查询解析库,将原始 SQL 字符串转换为强类型 Java 对象的结构化层级。它通过将数据库查询表示为对象树,提供了程序化分析和操作数据库查询的方法。 该库支持解析现有 SQL 文本以及通过流畅 API 程序化生成新语句。它包括转换查询树并将结构化对象模型序列化回格式化 SQL 文本的机制。 其他功能包括数据库模式分析(例如提取表名以映射数据依赖关系)和 SQL 语法验证。该解析器可配置以处理不同的语法方言,并包括容错恢复功能,以便在遇到无效标记后继续处理脚本。
Converts raw SQL strings into a structured hierarchy of strongly typed Java objects for analysis and manipulation.