improved hive sql parser

This commit is contained in:
高铁
2019-10-29 01:15:14 +08:00
parent 1e8cc71c50
commit 1a4aea6c6e
29 changed files with 2005 additions and 110 deletions
@@ -0,0 +1,38 @@
package com.alibaba.druid.sql.ast;
import com.alibaba.druid.sql.visitor.SQLASTVisitor;
public class SQLCurrentUserExpr
extends SQLExprImpl {
public SQLCurrentUserExpr() {
}
@Override
protected void accept0(SQLASTVisitor v) {
v.visit(this);
v.endVisit(this);
}
@Override
public boolean equals(Object o) {
if (o == null) {
return false;
}
if (this == o) {
return true;
}
return getClass() == o.getClass();
}
@Override
public int hashCode() {
return 0;
}
public SQLCurrentUserExpr clone() {
return new SQLCurrentUserExpr();
}
}