Class SQLStartTransactionStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLStartTransactionStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement
-
Nested Class Summary
Nested Classes -
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 TypeMethodDescriptionvoidaccept0(SQLASTVisitor visitor) getHints()getName()booleanisBegin()booleanbooleanbooleanisWork()voidsetBegin(boolean begin) voidsetConsistentSnapshot(boolean consistentSnapshot) voidsetHints(List<SQLCommentHint> hints) voidsetIsolationLevel(SQLStartTransactionStatement.IsolationLevel isolationLevel) voidvoidsetReadOnly(boolean readOnly) voidsetWork(boolean work) Methods 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, setParent
-
Constructor Details
-
SQLStartTransactionStatement
public SQLStartTransactionStatement() -
SQLStartTransactionStatement
-
-
Method Details
-
isConsistentSnapshot
public boolean isConsistentSnapshot() -
setConsistentSnapshot
public void setConsistentSnapshot(boolean consistentSnapshot) -
isBegin
public boolean isBegin() -
setBegin
public void setBegin(boolean begin) -
isWork
public boolean isWork() -
setWork
public void setWork(boolean work) -
getIsolationLevel
-
setIsolationLevel
-
accept0
- Overrides:
accept0in classSQLStatementImpl
-
getHints
-
setHints
-
getName
-
setName
-
getChildren
- Specified by:
getChildrenin interfaceSQLStatement- Overrides:
getChildrenin classSQLStatementImpl
-
isReadOnly
public boolean isReadOnly() -
setReadOnly
public void setReadOnly(boolean readOnly)
-