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) booleanbooleanbooleanvoidsetDollarQuoteTagName(String dollarQuoteTagName) voidsetEndLabel(String endLabel) voidsetEndOfCommit(boolean value) voidsetException(SQLStatement exception) voidsetHaveBeginEnd(boolean haveBeginEnd) voidsetIsDollarQuoted(boolean isDollarQuoted) voidsetLabelName(String labelName) voidsetLanguage(String language) voidsetParameters(List<SQLParameter> parameters) voidsetStatementList(List<SQLStatement> statementList) Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
cloneTo, 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, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, 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, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
Field Details
-
exception
-
-
Constructor Details
-
SQLBlockStatement
public SQLBlockStatement()
-
-
Method Details
-
getStatementList
-
setStatementList
-
isDollarQuoted
public boolean isDollarQuoted() -
setIsDollarQuoted
public void setIsDollarQuoted(boolean isDollarQuoted) -
getDollarQuoteTagName
-
setDollarQuoteTagName
-
getLanguage
-
setLanguage
-
getLabelName
-
setLabelName
-
isHaveBeginEnd
public boolean isHaveBeginEnd() -
setHaveBeginEnd
public void setHaveBeginEnd(boolean haveBeginEnd) -
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)
-