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
-
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 TypeMethodDescriptionvoid
accept0
(SQLASTVisitor visitor) getHints()
getName()
boolean
isBegin()
boolean
boolean
boolean
isWork()
void
setBegin
(boolean begin) void
setConsistentSnapshot
(boolean consistentSnapshot) void
setHints
(List<SQLCommentHint> hints) void
setIsolationLevel
(SQLStartTransactionStatement.IsolationLevel isolationLevel) void
void
setReadOnly
(boolean readOnly) void
setWork
(boolean work) 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
-
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:
accept0
in classSQLStatementImpl
-
getHints
-
setHints
-
getName
-
setName
-
getChildren
- Specified by:
getChildren
in interfaceSQLStatement
- Overrides:
getChildren
in classSQLStatementImpl
-
isReadOnly
public boolean isReadOnly() -
setReadOnly
public void setReadOnly(boolean readOnly)
-