Self - self typepublic abstract class TxControl<Self extends TxControl<?>> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TxControl.TxId
TX ID
|
static class |
TxControl.TxOnlineRo
TX ONLINE READ ONLY
|
static class |
TxControl.TxSerializableRw
TX SERIALIZABLE READ/WRITE
|
static class |
TxControl.TxSnapshotRo
TX SNAPSHOT READ ONLY
|
static class |
TxControl.TxStaleRo
TX STALE READ-ONLY
|
| Modifier | Constructor and Description |
|---|---|
protected |
TxControl(boolean commitTx,
String id) |
protected |
TxControl(boolean commitTx,
tech.ydb.proto.table.YdbTable.TransactionSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
static TxControl.TxId |
id(String id) |
static TxControl.TxId |
id(Transaction tx) |
boolean |
isCommitTx() |
static TxControl.TxOnlineRo |
onlineRo() |
static TxControl.TxSerializableRw |
serializableRw() |
abstract Self |
setCommitTx(boolean commitTx) |
static TxControl.TxSnapshotRo |
snapshotRo() |
static TxControl.TxStaleRo |
staleRo() |
tech.ydb.proto.table.YdbTable.TransactionControl |
toPb() |
protected TxControl(boolean commitTx,
String id)
protected TxControl(boolean commitTx,
tech.ydb.proto.table.YdbTable.TransactionSettings settings)
public static TxControl.TxId id(String id)
public static TxControl.TxId id(Transaction tx)
public static TxControl.TxSerializableRw serializableRw()
public static TxControl.TxSnapshotRo snapshotRo()
public static TxControl.TxStaleRo staleRo()
public static TxControl.TxOnlineRo onlineRo()
public boolean isCommitTx()
public abstract Self setCommitTx(boolean commitTx)
public tech.ydb.proto.table.YdbTable.TransactionControl toPb()
Copyright © 2023. All rights reserved.