This commit is contained in:
温少
2012-05-20 13:35:23 +08:00
parent a0865d1b01
commit 7dbce92bfb
2 changed files with 16 additions and 7 deletions
@@ -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);
}
}