com.alibaba.druid.sql.ast.expr
Class SQLHexExpr

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.SQLHexExpr
All Implemented Interfaces:
SQLLiteralExpr, SQLExpr, SQLObject, Serializable

public class SQLHexExpr
extends SQLExprImpl
implements SQLLiteralExpr

See Also:
Serialized Form

Constructor Summary
SQLHexExpr(String hex)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getHex()
           
 int hashCode()
           
 void output(StringBuffer buf)
           
 byte[] toBytes()
           
 
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

SQLHexExpr

public SQLHexExpr(String hex)
Method Detail

getHex

public String getHex()

output

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

hashCode

public int hashCode()
Specified by:
hashCode in class SQLExprImpl

equals

public boolean equals(Object obj)
Specified by:
equals in class SQLExprImpl

toBytes

public byte[] toBytes()


Copyright © 2012 Alibaba Group. All Rights Reserved.