This is a fork of the jsqlparser originally developed by ultimoamore.
Original project websites:
- http://jsqlparser.sourceforge.net
- http://sourceforge.net/projects/jsqlparser/
- https://github.com/wumpz/JSqlParser
Fork for use in SparqlMap
- includes deparser for postgresql
- allows arbitrary functions of thy type functionname(expression somestring, expression2 somestring2 ......), for creating for example: substring(cast(col as TEXT) FROM 1)
- removed cast and extract functions
- broke the junit test system, but it worked before!
- Changed project tests to junit 4
- Changed project layout to maven project
- Added regexp (REGEXP) operator
- Added support for SELECT without FROM (e.g. "SELECT 1+2")
- Moved parser from using StringBuffer to using StringBuilder
- Added support for CAST expression
select cast(col as varchar) from table
- Added support for modulo (a % b)
- Added support for brackets quotation
- Added support for NOT expr IS (expr IS NOT was already supported)
- Added support for Oracles (+) Join Syntax
select * from taba, tabb where taba.a=tabb.a(+)
- Added alias visitor to add aliases to selections
- Added connect visitor
- TableNamesFinder moved from tests to main source
- Added proper support for sets (union, intersect)
select a from taba union select b from tabb
select a from taba intersect select b from tabb
- Added support for
extract(year from datetime-expr)
- Start implementation of analytical expressions
As the project is a Maven project, building is rather simple by running:
mvn package
This will produce the jsqlparser-VERSION.jar file in the target/ directory.