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_TYPEFields inherited from class com.alibaba.druid.sql.ast.expr.SQLTextLiteralExpr
textFields inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
parenthesizedFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
ConstructorsConstructorDescriptionMySqlCharExpr(String text) MySqlCharExpr(String text, String charset) MySqlCharExpr(String text, String charset, String collate) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept0(MySqlASTVisitor visitor) protected voidaccept0(SQLASTVisitor visitor) clone()getType()voidoutput(StringBuilder buf) voidsetCharset(String charset) voidsetCollate(String collate) voidtoString()Methods inherited from class com.alibaba.druid.sql.ast.expr.SQLCharExpr
compareTo, computeDataType, getChildren, getValueMethods inherited from class com.alibaba.druid.sql.ast.expr.SQLTextLiteralExpr
equals, getText, hashCode, setTextMethods inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
isParenthesized, setParenthesizedMethods 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, putAttribute, setHint, setParent, setSourceColumn, setSourceLineMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLExpr
computeDataType, getChildren, getHintMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent
-
Constructor Details
-
MySqlCharExpr
public MySqlCharExpr() -
MySqlCharExpr
-
MySqlCharExpr
-
MySqlCharExpr
-
-
Method Details
-
getCharset
-
setCharset
-
getCollate
- Overrides:
getCollatein classSQLCharExpr
-
setCollate
- Overrides:
setCollatein classSQLCharExpr
-
getType
-
setType
-
output
- Specified by:
outputin interfaceSQLObject- Overrides:
outputin classSQLCharExpr
-
accept0
- Overrides:
accept0in classSQLCharExpr
-
accept0
-
toString
- Overrides:
toStringin classSQLCharExpr
-
clone
- Specified by:
clonein interfaceSQLExpr- Specified by:
clonein interfaceSQLLiteralExpr- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLCharExpr
-