mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor
This commit is contained in:
@@ -1,16 +1,12 @@
|
||||
package com.alibaba.druid.hbase.hbql.ast;
|
||||
|
||||
<<<<<<< HEAD
|
||||
import com.alibaba.druid.hbase.mapping.HMapping;
|
||||
=======
|
||||
>>>>>>> ca778ea3c3ae05528c08c708193c8a4f79392825
|
||||
import com.alibaba.druid.sql.ast.SQLStatementImpl;
|
||||
|
||||
public class HBQLCreateMappingStatement extends SQLStatementImpl implements HBQLStatement {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
<<<<<<< HEAD
|
||||
private HMapping mapping = new HMapping();
|
||||
|
||||
public HMapping getMapping() {
|
||||
@@ -21,6 +17,4 @@ public class HBQLCreateMappingStatement extends SQLStatementImpl implements HBQL
|
||||
this.mapping = mapping;
|
||||
}
|
||||
|
||||
=======
|
||||
>>>>>>> ca778ea3c3ae05528c08c708193c8a4f79392825
|
||||
}
|
||||
|
||||
@@ -1,6 +1,21 @@
|
||||
package com.alibaba.druid.hbase.hbql.parser;
|
||||
|
||||
import com.alibaba.druid.sql.parser.Lexer;
|
||||
import com.alibaba.druid.sql.parser.SQLExprParser;
|
||||
import com.alibaba.druid.sql.parser.SQLStatementParser;
|
||||
|
||||
public class HBQLStatementParser {
|
||||
|
||||
public class HBQLStatementParser extends SQLStatementParser {
|
||||
protected SQLExprParser exprParser;
|
||||
|
||||
public HBQLStatementParser(String sql){
|
||||
super(sql);
|
||||
|
||||
this.exprParser = new SQLExprParser(lexer);
|
||||
}
|
||||
|
||||
public HBQLStatementParser(Lexer lexer){
|
||||
super(lexer);
|
||||
this.exprParser = new SQLExprParser(lexer);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user