public interface YdbTransaction
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns identifier of the transaction or null if the transaction is not active = (not
started/committed/rolled back).
|
String |
getSessionId() |
CompletableFuture<Status> |
getStatusFuture() |
TxMode |
getTxMode()
Returns
TxMode with mode of the transaction |
default boolean |
isActive() |
String getId()
YdbTransaction is not active - any query on this object
starts a new transaction on server. When transaction is active any call of commit,
rollback or execution of any query with commitAtEnd=true finishes this transactionTxMode getTxMode()
TxMode with mode of the transactiondefault boolean isActive()
String getSessionId()
CompletableFuture<Status> getStatusFuture()
Copyright © 2024. All rights reserved.