Class MySqlCharExpr
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
com.alibaba.druid.sql.ast.expr.SQLTextLiteralExpr
com.alibaba.druid.sql.ast.expr.SQLCharExpr
com.alibaba.druid.sql.dialect.mysql.ast.expr.MySqlCharExpr
- All Implemented Interfaces:
SQLLiteralExpr
,SQLValuableExpr
,SQLExpr
,SQLObject
,MySqlExpr
,Cloneable
,Comparable<SQLCharExpr>
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.expr.SQLCharExpr
DATA_TYPE
Fields inherited from class com.alibaba.druid.sql.ast.expr.SQLTextLiteralExpr
text
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
ConstructorDescriptionMySqlCharExpr
(String text) MySqlCharExpr
(String text, String charset) MySqlCharExpr
(String text, String charset, String collate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept0
(MySqlASTVisitor visitor) protected void
accept0
(SQLASTVisitor visitor) clone()
getType()
void
output
(Appendable buf) void
setCharset
(String charset) void
setCollate
(String collate) void
toString()
Methods inherited from class com.alibaba.druid.sql.ast.expr.SQLCharExpr
compareTo, computeDataType, getChildren, getValue
Methods inherited from class com.alibaba.druid.sql.ast.expr.SQLTextLiteralExpr
equals, getText, hashCode, setText
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.alibaba.druid.sql.ast.SQLExpr
computeDataType, getChildren, getHint
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
-
Constructor Details
-
MySqlCharExpr
public MySqlCharExpr() -
MySqlCharExpr
-
MySqlCharExpr
-
MySqlCharExpr
-
-
Method Details
-
getCharset
-
setCharset
-
getCollate
-
setCollate
-
getType
-
setType
-
output
- Specified by:
output
in interfaceSQLObject
- Overrides:
output
in classSQLCharExpr
-
accept0
- Overrides:
accept0
in classSQLCharExpr
-
accept0
-
toString
- Overrides:
toString
in classSQLCharExpr
-
clone
- Specified by:
clone
in interfaceSQLExpr
- Specified by:
clone
in interfaceSQLLiteralExpr
- Specified by:
clone
in interfaceSQLObject
- Overrides:
clone
in classSQLCharExpr
-