Skip to content
improveme edited this page Aug 1, 2016 · 37 revisions

pike-jsqlparser是基于官方jsqlparser-0.9 fork出来的,添加了对pike sql语法的支持。

#Pike SQL语法 SET PikeOption WITHPERIOD PeriodExpression SELECT [TOP number] [DISTINCT] select_expr, select_expr, ... [INTO target] FROM table_reference [WHERE where_condition] [GROUP BY col_list] [HAVING having_expr] [ORDER BY col_list]

#Installation

编译pike之前需先安装pike-jsql

 git clone  -b pike-jsqlparser-0.9  [email protected]:PPTV-BIP/Pike-JSqlParser.git
 mvn install

#Maven 使用pike-jsqlparser需在pom中添加依赖

 <dependency>
   <groupId>pike-jsqlparser</groupId>
   <artifactId>pike-jsqlparser</artifactId>
   <version>0.9</version>
 </dependency>