Calcite - Syntax Tree (SqlNode)

About

SQL tree in Calcite.

The tree is build by the parser and each node (Tokens) is represented by SqlNode

Management

To Sql

SqlNode can be converted back to SQL via the unparse method

Translate to another SQL dialect

With another dialect.

System.out.println(sqlNode.toSqlString(OracleSqlDialect.DEFAULT));

Validation


Powered by ComboStrap