public class SQLTimestampExpr extends SQLExprImpl implements SQLValuableExpr, SQLLiteralExpr
| 限定符和类型 | 字段和说明 |
|---|---|
static SQLDataType |
DATA_TYPE |
protected String |
literal |
protected String |
timeZone |
protected boolean |
withTimeZone |
attributes, hint, parent, sourceColumn, sourceLine| 构造器和说明 |
|---|
SQLTimestampExpr() |
SQLTimestampExpr(Date date) |
SQLTimestampExpr(Date date,
TimeZone timeZone) |
SQLTimestampExpr(String literal) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
accept0(SQLASTVisitor visitor) |
boolean |
addDay(int delta) |
boolean |
addHour(int delta) |
boolean |
addMiniute(int delta) |
boolean |
addMonth(int delta) |
static boolean |
check(String str) |
SQLTimestampExpr |
clone() |
SQLDataType |
computeDataType() |
boolean |
equals(Object obj) |
List |
getChildren() |
Date |
getDate(TimeZone timeZone) |
String |
getLiteral() |
String |
getTimeZone() |
String |
getValue() |
int |
hashCode() |
boolean |
isWithTimeZone() |
static SQLTimestampExpr |
of(String str) |
void |
setLiteral(Date x) |
void |
setLiteral(Date x,
TimeZone timeZone) |
void |
setLiteral(String literal) |
void |
setTimeZone(String timeZone) |
void |
setWithTimeZone(boolean withTimeZone) |
String |
toString() |
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, setSourceLineaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentpublic static final SQLDataType DATA_TYPE
protected String literal
protected String timeZone
protected boolean withTimeZone
public SQLTimestampExpr()
public SQLTimestampExpr(String literal)
public SQLTimestampExpr(Date date)
public SQLTimestampExpr clone()
clone 在接口中 SQLLiteralExprclone 在接口中 SQLExprclone 在接口中 SQLObjectclone 在类中 SQLExprImplpublic boolean addDay(int delta)
public boolean addMonth(int delta)
public boolean addHour(int delta)
public boolean addMiniute(int delta)
public String getValue()
getValue 在接口中 SQLValuableExprpublic String getLiteral()
public void setLiteral(String literal)
public void setLiteral(Date x)
public String getTimeZone()
public void setTimeZone(String timeZone)
public boolean isWithTimeZone()
public void setWithTimeZone(boolean withTimeZone)
public int hashCode()
hashCode 在类中 SQLExprImplpublic boolean equals(Object obj)
equals 在类中 SQLExprImplprotected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLObjectImplpublic String toString()
toString 在类中 SQLObjectImplpublic SQLDataType computeDataType()
computeDataType 在接口中 SQLExprcomputeDataType 在类中 SQLExprImplpublic List getChildren()
getChildren 在接口中 SQLExprgetChildren 在类中 SQLExprImplpublic static boolean check(String str)
public static SQLTimestampExpr of(String str)
Copyright © 2013–2023. All rights reserved.