Class SetTransactionStatement
- java.lang.Object
-
- org.apache.shardingsphere.sql.parser.sql.common.statement.AbstractSQLStatement
-
- org.apache.shardingsphere.sql.parser.sql.common.statement.tcl.SetTransactionStatement
-
- All Implemented Interfaces:
ASTNode,SQLStatement,TCLStatement
- Direct Known Subclasses:
MySQLSetTransactionStatement,OpenGaussSetTransactionStatement,OracleSetTransactionStatement,PostgreSQLSetTransactionStatement,SQL92SetTransactionStatement,SQLServerSetTransactionStatement
public abstract class SetTransactionStatement extends AbstractSQLStatement implements TCLStatement
Set transaction statement.
-
-
Constructor Summary
Constructors Constructor Description SetTransactionStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<TransactionAccessType>getAccessMode()Get access mode.Optional<TransactionIsolationLevel>getIsolationLevel()Get isolation level.-
Methods inherited from class org.apache.shardingsphere.sql.parser.sql.common.statement.AbstractSQLStatement
addParameterMarkerSegments, getParameterCount
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement
getParameterCount
-
-
-
-
Method Detail
-
getIsolationLevel
public Optional<TransactionIsolationLevel> getIsolationLevel()
Get isolation level.- Returns:
- isolation level
-
getAccessMode
public Optional<TransactionAccessType> getAccessMode()
Get access mode.- Returns:
- access mode
-
-