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

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

public class SQLUnaryExpr
extends SQLExprImpl
implements Serializable

See Also:
Serialized Form

Constructor Summary
SQLUnaryExpr()
           
SQLUnaryExpr(SQLUnaryOperator operator, SQLExpr expr)
           
 
Method Summary
 boolean equals(Object obj)
           
 SQLExpr getExpr()
           
 SQLUnaryOperator getOperator()
           
 int hashCode()
           
 void output(StringBuffer buf)
           
 void setExpr(SQLExpr expr)
           
 void setOperator(SQLUnaryOperator operator)
           
 
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

SQLUnaryExpr

public SQLUnaryExpr()

SQLUnaryExpr

public SQLUnaryExpr(SQLUnaryOperator operator,
                    SQLExpr expr)
Method Detail

getOperator

public SQLUnaryOperator getOperator()

setOperator

public void setOperator(SQLUnaryOperator operator)

getExpr

public SQLExpr getExpr()

setExpr

public void setExpr(SQLExpr expr)

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.