public class SQLIntervalExpr extends SQLExprImpl implements SQLReplaceable
| Modifier and Type | Field and Description |
|---|---|
static SQLDataType |
DATA_TYPE |
| Constructor and Description |
|---|
SQLIntervalExpr() |
SQLIntervalExpr(SQLExpr value,
SQLIntervalUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
SQLIntervalExpr |
clone() |
SQLDataType |
computeDataType() |
boolean |
equals(Object obj) |
List |
getChildren() |
SQLIntervalUnit |
getUnit() |
SQLExpr |
getValue() |
int |
hashCode() |
void |
output(Appendable buf) |
boolean |
replace(SQLExpr expr,
SQLExpr target) |
void |
setUnit(SQLIntervalUnit unit) |
void |
setValue(SQLExpr x) |
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentpublic static final SQLDataType DATA_TYPE
public SQLIntervalExpr()
public SQLIntervalExpr(SQLExpr value, SQLIntervalUnit unit)
public SQLIntervalExpr clone()
public boolean replace(SQLExpr expr, SQLExpr target)
replace in interface SQLReplaceablepublic SQLExpr getValue()
public void setValue(SQLExpr x)
public SQLIntervalUnit getUnit()
public void setUnit(SQLIntervalUnit unit)
public void output(Appendable buf)
output in interface SQLObjectoutput in class SQLObjectImplpublic List getChildren()
getChildren in interface SQLExprgetChildren in class SQLExprImplpublic int hashCode()
hashCode in class SQLExprImplpublic boolean equals(Object obj)
equals in class SQLExprImplpublic SQLDataType computeDataType()
computeDataType in interface SQLExprcomputeDataType in class SQLExprImplCopyright © 2013–2020 Alibaba Group. All rights reserved.