Class SQLColumnDefinition.Identity
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.statement.SQLColumnDefinition.Identity
-
- Enclosing class:
- SQLColumnDefinition
public static class SQLColumnDefinition.Identity extends SQLObjectImpl implements SQLExpr
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description Identity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(SQLASTVisitor visitor)SQLColumnDefinition.Identityclone()List<SQLObject>getChildren()IntegergetIncrement()IntegergetMaxValue()IntegergetMinValue()IntegergetSeed()booleanisCycle()booleanisNotForReplication()voidsetCycle(boolean cycle)voidsetIncrement(Integer increment)voidsetMaxValue(Integer maxValue)voidsetMinValue(Integer minValue)voidsetNotForReplication(boolean notForReplication)voidsetSeed(Integer seed)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, 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.SQLExpr
computeDataType, getHint
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
getSeed
public Integer getSeed()
-
setSeed
public void setSeed(Integer seed)
-
getIncrement
public Integer getIncrement()
-
setIncrement
public void setIncrement(Integer increment)
-
isCycle
public boolean isCycle()
-
setCycle
public void setCycle(boolean cycle)
-
getMinValue
public Integer getMinValue()
-
setMinValue
public void setMinValue(Integer minValue)
-
getMaxValue
public Integer getMaxValue()
-
setMaxValue
public void setMaxValue(Integer maxValue)
-
isNotForReplication
public boolean isNotForReplication()
-
setNotForReplication
public void setNotForReplication(boolean notForReplication)
-
accept0
public void accept0(SQLASTVisitor visitor)
- Specified by:
accept0in classSQLObjectImpl
-
clone
public SQLColumnDefinition.Identity clone()
-
getChildren
public List<SQLObject> getChildren()
- Specified by:
getChildrenin interfaceSQLExpr
-
-