Class SQLBlockStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLBlockStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement
-
Field Summary
FieldsFields 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 TypeMethodDescriptionvoidaccept0(SQLASTVisitor visitor) clone()findParameter(long hash) booleanvoidsetEndLabel(String endLabel) voidsetEndOfCommit(boolean value) voidsetException(SQLStatement exception) voidsetLabelName(String labelName) voidsetParameters(List<SQLParameter> parameters) voidsetStatementList(List<SQLStatement> statementList) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
getChildren, 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, setParent
-
Field Details
-
exception
-
-
Constructor Details
-
SQLBlockStatement
public SQLBlockStatement()
-
-
Method Details
-
getStatementList
-
setStatementList
-
getLabelName
-
setLabelName
-
accept0
- Overrides:
accept0in classSQLStatementImpl
-
getParameters
-
setParameters
-
getException
-
setException
-
getEndLabel
-
setEndLabel
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLStatement- Overrides:
clonein classSQLStatementImpl
-
findParameter
-
isEndOfCommit
public boolean isEndOfCommit() -
setEndOfCommit
public void setEndOfCommit(boolean value)
-