类 SQLDateExpr
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
com.alibaba.druid.sql.ast.expr.SQLDateExpr
- 所有已实现的接口:
SQLLiteralExpr,SQLValuableExpr,SQLExpr,SQLObject,SQLReplaceable,Cloneable
public class SQLDateExpr
extends SQLExprImpl
implements SQLLiteralExpr, SQLValuableExpr, SQLReplaceable
-
字段概要
字段从类继承的字段 com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
构造器概要
构造器构造器说明SQLDateExpr(String literal) SQLDateExpr(Date literal) SQLDateExpr(Date literal, TimeZone timeZone) -
方法概要
修饰符和类型方法说明protected voidaccept0(SQLASTVisitor visitor) booleanaddDay(int delta) booleanaddMonth(int delta) booleanaddYear(int delta) static booleanclone()booleanstatic StringgetDate()getValue()inthashCode()static booleanbooleanvoidsetLiteral(String literal) voidsetLiteral(Date x) voidsetLiteral(Date x, TimeZone timeZone) 从类继承的方法 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, toString从接口继承的方法 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
-
supportDbTypes
public static long supportDbTypes
-
-
构造器详细资料
-
SQLDateExpr
public SQLDateExpr() -
SQLDateExpr
-
SQLDateExpr
-
SQLDateExpr
-
-
方法详细资料
-
getLiteral
-
setLiteral
-
setLiteral
-
setLiteral
-
getValue
- 指定者:
getValue在接口中SQLValuableExpr
-
getDate
-
getDate
-
addDay
public boolean addDay(int delta) -
addMonth
public boolean addMonth(int delta) -
addYear
public boolean addYear(int delta) -
accept0
- 指定者:
accept0在类中SQLObjectImpl
-
hashCode
public int hashCode()- 指定者:
hashCode在类中SQLExprImpl
-
equals
- 指定者:
equals在类中SQLExprImpl
-
clone
- 指定者:
clone在接口中SQLExpr- 指定者:
clone在接口中SQLLiteralExpr- 指定者:
clone在接口中SQLObject- 指定者:
clone在类中SQLExprImpl
-
replace
- 指定者:
replace在接口中SQLReplaceable
-
getChildren
- 指定者:
getChildren在接口中SQLExpr- 覆盖:
getChildren在类中SQLExprImpl
-
isSupport
-
check
-
format
-
computeDataType
- 指定者:
computeDataType在接口中SQLExpr- 覆盖:
computeDataType在类中SQLExprImpl
-