Class MySqlUserName
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.dialect.mysql.ast.MySqlObjectImpl
-
- com.alibaba.druid.sql.dialect.mysql.ast.expr.MySqlExprImpl
-
- com.alibaba.druid.sql.dialect.mysql.ast.expr.MySqlUserName
-
- All Implemented Interfaces:
SQLExpr,SQLName,SQLObject,MySqlObject,Cloneable
public class MySqlUserName extends MySqlExprImpl implements SQLName, Cloneable
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.dialect.mysql.ast.expr.MySqlExprImpl
hint
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description MySqlUserName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(MySqlASTVisitor visitor)MySqlUserNameclone()List<SQLObject>getChildren()StringgetHost()StringgetIdentifiedBy()StringgetNormalizeUserName()SQLColumnDefinitiongetResolvedColumn()StringgetSimpleName()StringgetUserName()longhashCode64()longnameHashCode64()voidsetHost(String host)voidsetIdentifiedBy(String identifiedBy)voidsetUserName(String userName)StringtoString()-
Methods inherited from class com.alibaba.druid.sql.dialect.mysql.ast.expr.MySqlExprImpl
getHint, setHint
-
Methods inherited from class com.alibaba.druid.sql.dialect.mysql.ast.MySqlObjectImpl
accept0
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource, setSourceLine
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLExpr
computeDataType, getHint
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
getUserName
public String getUserName()
-
setUserName
public void setUserName(String userName)
-
getNormalizeUserName
public String getNormalizeUserName()
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
-
accept0
public void accept0(MySqlASTVisitor visitor)
- Specified by:
accept0in interfaceMySqlObject- Specified by:
accept0in classMySqlObjectImpl
-
getSimpleName
public String getSimpleName()
- Specified by:
getSimpleNamein interfaceSQLName
-
getIdentifiedBy
public String getIdentifiedBy()
-
setIdentifiedBy
public void setIdentifiedBy(String identifiedBy)
-
toString
public String toString()
- Overrides:
toStringin classSQLObjectImpl
-
clone
public MySqlUserName clone()
-
getChildren
public List<SQLObject> getChildren()
- Specified by:
getChildrenin interfaceSQLExpr
-
nameHashCode64
public long nameHashCode64()
- Specified by:
nameHashCode64in interfaceSQLName
-
hashCode64
public long hashCode64()
- Specified by:
hashCode64in interfaceSQLName
-
getResolvedColumn
public SQLColumnDefinition getResolvedColumn()
- Specified by:
getResolvedColumnin interfaceSQLName
-
-