Class SQLDefault
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
com.alibaba.druid.sql.ast.statement.SQLDefault
- All Implemented Interfaces:
SQLDbTypedObject
,SQLObject
,SQLReplaceable
,SQLConstraint
,SQLTableConstraint
,SQLTableElement
public class SQLDefault
extends SQLConstraintImpl
implements SQLTableElement, SQLTableConstraint, SQLReplaceable
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
dbType, enable, hints, rely, validate
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) clone()
void
getExpr()
boolean
boolean
void
void
void
setWithValues
(boolean withValues) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLConstraintImpl
cloneTo, cloneTo, getComment, getDbType, getEnable, getHints, getName, getRely, getValidate, setComment, setDbType, setEnable, setHints, setName, setName, setRely, setValidate, simplify
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.alibaba.druid.sql.ast.statement.SQLConstraint
getComment, getName, setComment, setName, simplify
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
-
Constructor Details
-
SQLDefault
public SQLDefault() -
SQLDefault
-
-
Method Details
-
getColumn
-
setColumn
-
getExpr
-
setExpr
-
accept0
- Specified by:
accept0
in classSQLObjectImpl
-
cloneTo
-
clone
- Specified by:
clone
in interfaceSQLObject
- Specified by:
clone
in interfaceSQLTableElement
- Overrides:
clone
in classSQLObjectImpl
-
replace
- Specified by:
replace
in interfaceSQLReplaceable
- Overrides:
replace
in classSQLConstraintImpl
-
isWithValues
public boolean isWithValues() -
setWithValues
public void setWithValues(boolean withValues)
-