类 SQLTimestampExpr
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
com.alibaba.druid.sql.ast.expr.SQLTimestampExpr
- 所有已实现的接口:
SQLLiteralExpr,SQLValuableExpr,SQLExpr,SQLObject,Cloneable
-
字段概要
字段从类继承的字段 com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
构造器概要
构造器构造器说明SQLTimestampExpr(String literal) SQLTimestampExpr(Date date) SQLTimestampExpr(Date date, TimeZone timeZone) -
方法概要
修饰符和类型方法说明protected voidaccept0(SQLASTVisitor visitor) booleanaddDay(int delta) booleanaddHour(int delta) booleanaddMiniute(int delta) booleanaddMonth(int delta) static booleanclone()booleangetValue()inthashCode()booleanstatic SQLTimestampExprvoidsetLiteral(String literal) voidsetLiteral(Date x) voidsetLiteral(Date x, TimeZone timeZone) voidsetTimeZone(String timeZone) voidsetWithTimeZone(boolean withTimeZone) toString()从类继承的方法 com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine从接口继承的方法 com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
-
字段详细资料
-
DATA_TYPE
-
literal
-
timeZone
-
withTimeZone
protected boolean withTimeZone
-
-
构造器详细资料
-
SQLTimestampExpr
public SQLTimestampExpr() -
SQLTimestampExpr
-
SQLTimestampExpr
-
SQLTimestampExpr
-
-
方法详细资料
-
clone
- 指定者:
clone在接口中SQLExpr- 指定者:
clone在接口中SQLLiteralExpr- 指定者:
clone在接口中SQLObject- 指定者:
clone在类中SQLExprImpl
-
getDate
-
addDay
public boolean addDay(int delta) -
addMonth
public boolean addMonth(int delta) -
addHour
public boolean addHour(int delta) -
addMiniute
public boolean addMiniute(int delta) -
getValue
- 指定者:
getValue在接口中SQLValuableExpr
-
getLiteral
-
setLiteral
-
setLiteral
-
setLiteral
-
getTimeZone
-
setTimeZone
-
isWithTimeZone
public boolean isWithTimeZone() -
setWithTimeZone
public void setWithTimeZone(boolean withTimeZone) -
hashCode
public int hashCode()- 指定者:
hashCode在类中SQLExprImpl
-
equals
- 指定者:
equals在类中SQLExprImpl
-
accept0
- 指定者:
accept0在类中SQLObjectImpl
-
toString
- 覆盖:
toString在类中SQLObjectImpl
-
computeDataType
- 指定者:
computeDataType在接口中SQLExpr- 覆盖:
computeDataType在类中SQLExprImpl
-
getChildren
- 指定者:
getChildren在接口中SQLExpr- 覆盖:
getChildren在类中SQLExprImpl
-
check
-
of
-