Package io.github.fupacat.ast
Class BeginTransactionStatement
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.TSqlStatement
io.github.fupacat.ast.TransactionStatement
io.github.fupacat.ast.BeginTransactionStatement
- All Implemented Interfaces:
Serializable
Represents the begin transaction and begin distributed transaction statements.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue if this is a distributed transaction.booleanTrue if mark is defined, checking MarkDescription for null is not good enough.The description of the mark, either a AsciiStringLiteral, UnicodeStringLiteral or a variable.Fields inherited from class io.github.fupacat.ast.TransactionStatement
NameFields inherited from class io.github.fupacat.ast.TSqlFragment
firstTokenIndex, lastTokenIndex, ScriptTokenStream, Value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TSqlFragmentVisitor visitor) voidacceptChildren(TSqlFragmentVisitor visitor) Methods inherited from class io.github.fupacat.ast.TSqlFragment
SetIdentifier, SetUnquotedIdentifier, UpdateTokenInfo, UpdateTokenInfo
-
Field Details
-
Distributed
public boolean DistributedTrue if this is a distributed transaction. -
MarkDefined
public boolean MarkDefinedTrue if mark is defined, checking MarkDescription for null is not good enough. -
MarkDescription
The description of the mark, either a AsciiStringLiteral, UnicodeStringLiteral or a variable.
-
-
Constructor Details
-
BeginTransactionStatement
public BeginTransactionStatement()
-
-
Method Details
-
accept
- Overrides:
acceptin classTransactionStatement
-
acceptChildren
- Overrides:
acceptChildrenin classTransactionStatement
-