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
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept0
(SQLASTVisitor visitor) getCache()
getCycle()
getName()
getOrder()
getStep()
boolean
isGroup()
boolean
boolean
boolean
isSimple()
boolean
isTime()
void
void
setCacheValue
(SQLExpr cacheValue) void
void
setGroup
(boolean group) void
setIncrementBy
(SQLExpr incrementBy) void
setMaxValue
(SQLExpr maxValue) void
setMinValue
(SQLExpr minValue) void
void
setNoMaxValue
(boolean noMaxValue) void
setNoMinValue
(boolean noMinValue) void
void
setSimple
(boolean simple) void
setStartWith
(SQLExpr startWith) void
void
setTime
(boolean time) void
void
void
setWithCache
(Boolean withCache) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, 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, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, 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, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
Methods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
clone, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
Constructor Details
-
SQLCreateSequenceStatement
public SQLCreateSequenceStatement()
-
-
Method Details
-
accept0
- Overrides:
accept0
in classSQLStatementImpl
-
getChildren
- Specified by:
getChildren
in interfaceSQLStatement
- Overrides:
getChildren
in classSQLStatementImpl
-
getName
- Specified by:
getName
in interfaceSQLCreateStatement
-
setName
-
getStartWith
-
setStartWith
-
getIncrementBy
-
setIncrementBy
-
getMaxValue
-
setMaxValue
-
getCycle
-
setCycle
-
getCache
-
setCache
-
getOrder
-
setOrder
-
getMinValue
-
setMinValue
-
isNoMaxValue
public boolean isNoMaxValue() -
setNoMaxValue
public void setNoMaxValue(boolean noMaxValue) -
isNoMinValue
public boolean isNoMinValue() -
setNoMinValue
public void setNoMinValue(boolean noMinValue) -
getSchema
-
getCacheValue
-
setCacheValue
-
isSimple
public boolean isSimple() -
setSimple
public void setSimple(boolean simple) -
isGroup
public boolean isGroup() -
setGroup
public void setGroup(boolean group) -
getUnitCount
-
setUnitCount
-
getUnitIndex
-
setUnitIndex
-
isTime
public boolean isTime() -
setTime
public void setTime(boolean time) -
getWithCache
-
setWithCache
-
getStep
-
setStep
-
getDDLObjectType
- Specified by:
getDDLObjectType
in interfaceSQLDDLStatement
-