com.alibaba.druid.sql.dialect.mysql.ast.expr
Class MySqlCharExpr

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
      extended by com.alibaba.druid.sql.ast.SQLExprImpl
          extended by com.alibaba.druid.sql.ast.expr.SQLTextLiteralExpr
              extended by com.alibaba.druid.sql.ast.expr.SQLCharExpr
                  extended by com.alibaba.druid.sql.dialect.mysql.ast.expr.MySqlCharExpr
All Implemented Interfaces:
SQLLiteralExpr, SQLExpr, SQLObject, MySqlExpr, Serializable

public class MySqlCharExpr
extends SQLCharExpr
implements MySqlExpr

See Also:
Serialized Form

Constructor Summary
MySqlCharExpr()
           
MySqlCharExpr(String text)
           
 
Method Summary
 void accept0(MySqlASTVisitor visitor)
           
 String getCharset()
           
 String getCollate()
           
 void output(StringBuffer buf)
           
 void setCharset(String charset)
           
 void setCollate(String collate)
           
 
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, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent
 

Constructor Detail

MySqlCharExpr

public MySqlCharExpr()

MySqlCharExpr

public MySqlCharExpr(String text)
Method Detail

getCharset

public String getCharset()

setCharset

public void setCharset(String charset)

getCollate

public String getCollate()

setCollate

public void setCollate(String collate)

output

public void output(StringBuffer buf)
Specified by:
output in interface SQLObject
Overrides:
output in class SQLCharExpr

accept0

public void accept0(MySqlASTVisitor visitor)


Copyright © 2012 Alibaba Group. All Rights Reserved.