- java.lang.Object
-
- net.sf.jsqlparser.statement.RollbackStatement
-
public class RollbackStatement extends java.lang.Object implements Statement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
forceDistributedTransactionIdentifier
private java.lang.String
savepointName
private boolean
usingSavepointKeyword
private boolean
usingWorkKeyword
-
Constructor Summary
Constructors Constructor Description RollbackStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(StatementVisitor<T> statementVisitor, S context)
java.lang.String
getForceDistributedTransactionIdentifier()
java.lang.String
getSavepointName()
boolean
isUsingSavepointKeyword()
boolean
isUsingWorkKeyword()
void
setForceDistributedTransactionIdentifier(java.lang.String forceDistributedTransactionIdentifier)
void
setSavepointName(java.lang.String savepointName)
void
setUsingSavepointKeyword(boolean usingSavepointKeyword)
void
setUsingWorkKeyword(boolean usingWorkKeyword)
java.lang.String
toString()
RollbackStatement
withForceDistributedTransactionIdentifier(java.lang.String forceDistributedTransactionIdentifier)
RollbackStatement
withSavepointName(java.lang.String savepointName)
RollbackStatement
withUsingSavepointKeyword(boolean usingSavepointKeyword)
RollbackStatement
withUsingWorkKeyword(boolean usingWorkKeyword)
-
-
-
Method Detail
-
isUsingWorkKeyword
public boolean isUsingWorkKeyword()
-
setUsingWorkKeyword
public void setUsingWorkKeyword(boolean usingWorkKeyword)
-
withUsingWorkKeyword
public RollbackStatement withUsingWorkKeyword(boolean usingWorkKeyword)
-
isUsingSavepointKeyword
public boolean isUsingSavepointKeyword()
-
setUsingSavepointKeyword
public void setUsingSavepointKeyword(boolean usingSavepointKeyword)
-
withUsingSavepointKeyword
public RollbackStatement withUsingSavepointKeyword(boolean usingSavepointKeyword)
-
getSavepointName
public java.lang.String getSavepointName()
-
setSavepointName
public void setSavepointName(java.lang.String savepointName)
-
withSavepointName
public RollbackStatement withSavepointName(java.lang.String savepointName)
-
getForceDistributedTransactionIdentifier
public java.lang.String getForceDistributedTransactionIdentifier()
-
setForceDistributedTransactionIdentifier
public void setForceDistributedTransactionIdentifier(java.lang.String forceDistributedTransactionIdentifier)
-
withForceDistributedTransactionIdentifier
public RollbackStatement withForceDistributedTransactionIdentifier(java.lang.String forceDistributedTransactionIdentifier)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
accept
public <T,S> T accept(StatementVisitor<T> statementVisitor, S context)
-
-