public class SQLTimeExpr extends SQLExprImpl implements SQLLiteralExpr, SQLValuableExpr, SQLReplaceable
| Modifier and Type | Field and Description |
|---|---|
static SQLDataType |
DATA_TYPE |
static long |
supportDbTypes |
| Constructor and Description |
|---|
SQLTimeExpr() |
SQLTimeExpr(Date now,
TimeZone timeZone) |
SQLTimeExpr(String literal) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
check(String str) |
SQLTimeExpr |
clone() |
SQLDataType |
computeDataType() |
boolean |
equals(Object obj) |
List<SQLObject> |
getChildren() |
SQLExpr |
getLiteral() |
String |
getValue() |
int |
hashCode() |
static boolean |
isSupport(DbType dbType) |
boolean |
replace(SQLExpr expr,
SQLExpr target) |
void |
setLiteral(Date x,
TimeZone timeZone) |
void |
setLiteral(SQLExpr x) |
void |
setLiteral(String literal) |
accept, 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 SQLTimeExpr()
public SQLTimeExpr(String literal)
public SQLExpr getLiteral()
public void setLiteral(String literal)
public void setLiteral(SQLExpr x)
public SQLDataType computeDataType()
computeDataType in interface SQLExprcomputeDataType in class SQLExprImplpublic String getValue()
getValue in interface SQLValuableExprpublic boolean replace(SQLExpr expr, SQLExpr target)
replace in interface SQLReplaceablepublic int hashCode()
hashCode in class SQLExprImplpublic boolean equals(Object obj)
equals in class SQLExprImplpublic SQLTimeExpr clone()
clone in interface SQLLiteralExprclone in interface SQLExprclone in interface SQLObjectclone in class SQLExprImplpublic List<SQLObject> getChildren()
getChildren in interface SQLExprgetChildren in class SQLExprImplpublic static boolean isSupport(DbType dbType)
public static boolean check(String str)
Copyright © 2013–2021 Alibaba Group. All rights reserved.