public abstract class AbstractDistributedTransaction extends java.lang.Object implements DistributedTransaction
| Constructor and Description |
|---|
AbstractDistributedTransaction() |
| Modifier and Type | Method and Description |
|---|---|
protected Delete |
copyAndSetTargetToIfNot(Delete delete) |
protected Get |
copyAndSetTargetToIfNot(Get get) |
protected Insert |
copyAndSetTargetToIfNot(Insert insert) |
protected <T extends Mutation> |
copyAndSetTargetToIfNot(java.util.List<T> mutations) |
protected Put |
copyAndSetTargetToIfNot(Put put) |
protected Scan |
copyAndSetTargetToIfNot(Scan scan) |
protected Update |
copyAndSetTargetToIfNot(Update update) |
protected Upsert |
copyAndSetTargetToIfNot(Upsert upsert) |
java.util.Optional<java.lang.String> |
getNamespace()
Deprecated.
As of release 3.6.0. Will be removed in release 5.0.0
|
java.util.Optional<java.lang.String> |
getTable()
Deprecated.
As of release 3.6.0. Will be removed in release 5.0.0
|
void |
with(java.lang.String namespace,
java.lang.String tableName)
Deprecated.
As of release 3.6.0. Will be removed in release 5.0.0
|
void |
withNamespace(java.lang.String namespace)
Deprecated.
As of release 3.6.0. Will be removed in release 5.0.0
|
void |
withTable(java.lang.String tableName)
Deprecated.
As of release 3.6.0. Will be removed in release 5.0.0
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabort, commit, getId, rollback@Deprecated
public void with(java.lang.String namespace,
java.lang.String tableName)
DistributedTransactionwith in interface DistributedTransactionnamespace - default namespace to operate fortableName - default table name to operate for@Deprecated public void withNamespace(java.lang.String namespace)
DistributedTransactionwithNamespace in interface DistributedTransactionnamespace - default namespace to operate for@Deprecated public java.util.Optional<java.lang.String> getNamespace()
DistributedTransactiongetNamespace in interface DistributedTransactionOptional with the namespace@Deprecated public void withTable(java.lang.String tableName)
DistributedTransactionwithTable in interface DistributedTransactiontableName - default table name to operate for@Deprecated public java.util.Optional<java.lang.String> getTable()
DistributedTransactiongetTable in interface DistributedTransactionOptional with the table nameprotected <T extends Mutation> java.util.List<T> copyAndSetTargetToIfNot(java.util.List<T> mutations)