airframe-sql

Maven Central Latest version

airframe-sql is a SQL parser/lexer and model classes that follows SQL-92 standard.

libraryDependencies += "org.wvlet.airframe" %% "airframe-sql" % "(version)"

Usage

import wvlet.airframe.sql.parser.SQLParser

// Parse SQL and generate a logical plan 
val logicalPlan = SQLParser.parse("select * from a") // Project[*](Table("a"))