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

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

public class SQLBitStringLiteralExpr
extends SQLExprImpl
implements SQLLiteralExpr

SQL-92

<bit string literal> ::= B <quote> [ <bit> ... ] <quote> [ { <separator> ... <quote> [ <bit> ... ] <quote> }... ]

Author:
WENSHAO
See Also:
Serialized Form

Constructor Summary
SQLBitStringLiteralExpr()
           
 
Method Summary
 boolean equals(Object obj)
           
 BitSet getValue()
           
 int hashCode()
           
 void output(StringBuffer buf)
           
 void setValue(BitSet value)
           
 
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

SQLBitStringLiteralExpr

public SQLBitStringLiteralExpr()
Method Detail

getValue

public BitSet getValue()

setValue

public void setValue(BitSet value)

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


Copyright © 2012 Alibaba Group. All Rights Reserved.