Class OracleIntervalExpr
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLExprImpl
com.alibaba.druid.sql.dialect.oracle.ast.expr.OracleIntervalExpr
- All Implemented Interfaces:
SQLLiteralExpr,SQLExpr,SQLObject,SQLReplaceable,OracleExpr,OracleSQLObject,Cloneable
public class OracleIntervalExpr
extends SQLExprImpl
implements SQLLiteralExpr, OracleExpr, SQLReplaceable
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
parenthesizedFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept0(OracleASTVisitor visitor) protected voidaccept0(SQLASTVisitor visitor) clone()booleangetType()getValue()inthashCode()booleanvoidsetFactionalSecondsPrecision(Integer factionalSecondsPrecision) voidsetPrecision(SQLExpr precision) voidsetPrecision(Integer precision) voidvoidsetToType(OracleIntervalType toType) voidsetType(OracleIntervalType type) voidMethods inherited from class com.alibaba.druid.sql.ast.SQLExprImpl
computeDataType, isParenthesized, setParenthesizedMethods inherited from class 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, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLExpr
computeDataType, getHintMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
-
Constructor Details
-
OracleIntervalExpr
public OracleIntervalExpr()
-
-
Method Details
-
clone
- Specified by:
clonein interfaceSQLExpr- Specified by:
clonein interfaceSQLLiteralExpr- Specified by:
clonein interfaceSQLObject- Specified by:
clonein classSQLExprImpl
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
getChildren
- Specified by:
getChildrenin interfaceSQLExpr- Overrides:
getChildrenin classSQLExprImpl
-
getValue
-
setValue
-
getType
-
setType
-
getPrecision
-
setPrecision
-
setPrecision
-
getFactionalSecondsPrecision
-
setFactionalSecondsPrecision
-
getToType
-
setToType
-
getToFactionalSecondsPrecision
-
setToFactionalSecondsPrecision
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
accept0
- Specified by:
accept0in interfaceOracleSQLObject
-
hashCode
public int hashCode()- Specified by:
hashCodein classSQLExprImpl
-
equals
- Specified by:
equalsin classSQLExprImpl
-