JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern
A Druid-based multi-dialect SQL parsing engine with syntax and business parsing layers for tables, DDL, lineage, SQL splitting and rewriting.