Class SQLCreateTriggerStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLCreateTriggerStatement
- All Implemented Interfaces:
SQLDbTypedObject
,SQLObject
,SQLStatement
,SQLCreateStatement
,SQLDDLStatement
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
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 TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) getBody()
getName()
getOn()
getWhen()
boolean
isDelete()
boolean
boolean
isInsert()
boolean
boolean
isUpdate()
void
setBody
(SQLStatement body) void
void
setDelete
(boolean delete) void
setForEachRow
(boolean forEachRow) void
setInsert
(boolean insert) void
void
void
void
setOrReplace
(boolean orReplace) void
setTriggerType
(SQLCreateTriggerStatement.TriggerType triggerType) void
setUpdate
(boolean update) void
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
-
SQLCreateTriggerStatement
public SQLCreateTriggerStatement() -
SQLCreateTriggerStatement
-
-
Method Details
-
accept0
- Overrides:
accept0
in classSQLStatementImpl
-
getChildren
- Specified by:
getChildren
in interfaceSQLStatement
- Overrides:
getChildren
in classSQLStatementImpl
-
getOn
-
setOn
-
setOn
-
getName
-
setName
-
getBody
-
setBody
-
isOrReplace
public boolean isOrReplace() -
setOrReplace
public void setOrReplace(boolean orReplace) -
getTriggerType
-
setTriggerType
-
getTriggerEvents
-
isForEachRow
public boolean isForEachRow() -
setForEachRow
public void setForEachRow(boolean forEachRow) -
getUpdateOfColumns
-
getWhen
-
setWhen
-
isUpdate
public boolean isUpdate() -
setUpdate
public void setUpdate(boolean update) -
isDelete
public boolean isDelete() -
setDelete
public void setDelete(boolean delete) -
isInsert
public boolean isInsert() -
setInsert
public void setInsert(boolean insert) -
getDefiner
-
setDefiner
-