public class SQLDateExpr extends SQLExprImpl implements SQLLiteralExpr, SQLValuableExpr, SQLReplaceable
| 限定符和类型 | 字段和说明 |
|---|---|
static SQLDataType |
DATA_TYPE |
static long |
supportDbTypes |
attributes, hint, parent, sourceColumn, sourceLine| 构造器和说明 |
|---|
SQLDateExpr() |
SQLDateExpr(Date literal) |
SQLDateExpr(Date literal,
TimeZone timeZone) |
SQLDateExpr(String literal) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
accept0(SQLASTVisitor visitor) |
boolean |
addDay(int delta) |
boolean |
addMonth(int delta) |
boolean |
addYear(int delta) |
static boolean |
check(String str) |
SQLDateExpr |
clone() |
SQLDataType |
computeDataType() |
boolean |
equals(Object obj) |
static String |
format(Calendar calendar) |
List<SQLObject> |
getChildren() |
Date |
getDate() |
Date |
getDate(TimeZone timeZone) |
String |
getLiteral() |
String |
getValue() |
int |
hashCode() |
static boolean |
isSupport(DbType dbType) |
boolean |
replace(SQLExpr expr,
SQLExpr target) |
void |
setLiteral(Date x) |
void |
setLiteral(Date x,
TimeZone timeZone) |
void |
setLiteral(String literal) |
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentpublic static final SQLDataType DATA_TYPE
public static long supportDbTypes
public SQLDateExpr()
public SQLDateExpr(String literal)
public SQLDateExpr(Date literal)
public String getLiteral()
public void setLiteral(String literal)
public void setLiteral(Date x)
public String getValue()
getValue 在接口中 SQLValuableExprpublic Date getDate()
public boolean addDay(int delta)
public boolean addMonth(int delta)
public boolean addYear(int delta)
protected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLObjectImplpublic int hashCode()
hashCode 在类中 SQLExprImplpublic boolean equals(Object obj)
equals 在类中 SQLExprImplpublic SQLDateExpr clone()
clone 在接口中 SQLLiteralExprclone 在接口中 SQLExprclone 在接口中 SQLObjectclone 在类中 SQLExprImplpublic boolean replace(SQLExpr expr, SQLExpr target)
replace 在接口中 SQLReplaceablepublic List<SQLObject> getChildren()
getChildren 在接口中 SQLExprgetChildren 在类中 SQLExprImplpublic static boolean isSupport(DbType dbType)
public static boolean check(String str)
public SQLDataType computeDataType()
computeDataType 在接口中 SQLExprcomputeDataType 在类中 SQLExprImplCopyright © 2013–2023. All rights reserved.