Class SQLCreateSequenceStatement
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLStatementImpl
-
- com.alibaba.druid.sql.ast.statement.SQLCreateSequenceStatement
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement,SQLCreateStatement,SQLDDLStatement
public class SQLCreateSequenceStatement extends SQLStatementImpl implements SQLCreateStatement
Created by wenshao on 16/9/14.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLCreateSequenceStatement()
-
Method Summary
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, cloneTo, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedString
-
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
-
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.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
-
-
-
Method Detail
-
accept0
public void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLStatementImpl
-
getChildren
public List<SQLObject> getChildren()
- Specified by:
getChildrenin interfaceSQLStatement- Overrides:
getChildrenin classSQLStatementImpl
-
getName
public SQLName getName()
- Specified by:
getNamein interfaceSQLCreateStatement
-
setName
public void setName(SQLName name)
-
getStartWith
public SQLExpr getStartWith()
-
setStartWith
public void setStartWith(SQLExpr startWith)
-
getIncrementBy
public SQLExpr getIncrementBy()
-
setIncrementBy
public void setIncrementBy(SQLExpr incrementBy)
-
getMaxValue
public SQLExpr getMaxValue()
-
setMaxValue
public void setMaxValue(SQLExpr maxValue)
-
getCycle
public Boolean getCycle()
-
setCycle
public void setCycle(Boolean cycle)
-
getCache
public Boolean getCache()
-
setCache
public void setCache(Boolean cache)
-
getOrder
public Boolean getOrder()
-
setOrder
public void setOrder(Boolean order)
-
getMinValue
public SQLExpr getMinValue()
-
setMinValue
public void setMinValue(SQLExpr minValue)
-
isNoMaxValue
public boolean isNoMaxValue()
-
setNoMaxValue
public void setNoMaxValue(boolean noMaxValue)
-
isNoMinValue
public boolean isNoMinValue()
-
setNoMinValue
public void setNoMinValue(boolean noMinValue)
-
getSchema
public String getSchema()
-
getCacheValue
public SQLExpr getCacheValue()
-
setCacheValue
public void setCacheValue(SQLExpr cacheValue)
-
isSimple
public boolean isSimple()
-
setSimple
public void setSimple(boolean simple)
-
isGroup
public boolean isGroup()
-
setGroup
public void setGroup(boolean group)
-
getUnitCount
public SQLExpr getUnitCount()
-
setUnitCount
public void setUnitCount(SQLExpr x)
-
getUnitIndex
public SQLExpr getUnitIndex()
-
setUnitIndex
public void setUnitIndex(SQLExpr x)
-
isTime
public boolean isTime()
-
setTime
public void setTime(boolean time)
-
getWithCache
public Boolean getWithCache()
-
setWithCache
public void setWithCache(Boolean withCache)
-
getStep
public SQLExpr getStep()
-
setStep
public void setStep(SQLExpr step)
-
getDDLObjectType
public SQLDDLStatement.DDLObjectType getDDLObjectType()
- Specified by:
getDDLObjectTypein interfaceSQLDDLStatement
-
-