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

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.dialect.mysql.ast.expr.MySqlIntervalExpr
All Implemented Interfaces:
SQLExpr, SQLObject, MySqlExpr, Serializable

public class MySqlIntervalExpr
extends SQLExprImpl
implements MySqlExpr

See Also:
Serialized Form

Constructor Summary
MySqlIntervalExpr()
           
 
Method Summary
 boolean equals(Object obj)
           
 MySqlIntervalUnit getUnit()
           
 SQLExpr getValue()
           
 int hashCode()
           
 void output(StringBuffer buf)
           
 void setUnit(MySqlIntervalUnit unit)
           
 void setValue(SQLExpr 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

MySqlIntervalExpr

public MySqlIntervalExpr()
Method Detail

getValue

public SQLExpr getValue()

setValue

public void setValue(SQLExpr value)

getUnit

public MySqlIntervalUnit getUnit()

setUnit

public void setUnit(MySqlIntervalUnit unit)

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.