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
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumNested 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, headHintsFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) getBody()getName()getOn()getWhen()booleanisDelete()booleanbooleanisInsert()booleanbooleanisUpdate()voidsetBody(SQLStatement body) voidvoidsetDelete(boolean delete) voidsetForEachRow(boolean forEachRow) voidsetInsert(boolean insert) voidvoidvoidvoidsetOrReplace(boolean orReplace) voidsetTriggerType(SQLCreateTriggerStatement.TriggerType triggerType) voidsetUpdate(boolean update) voidMethods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
clone, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedStringMethods 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, setSourceLineMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, setParentMethods 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:
accept0in classSQLStatementImpl
-
getChildren
- Specified by:
getChildrenin interfaceSQLStatement- Overrides:
getChildrenin classSQLStatementImpl
-
getOn
-
setOn
-
setOn
-
getName
- Specified by:
getNamein interfaceSQLCreateStatement
-
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
-
getDDLObjectType
- Specified by:
getDDLObjectTypein interfaceSQLDDLStatement
-