T - The type of object this transaction applies to. Can be safely erased as it's not needed outside the
class itself.public class WriteTransaction<T> extends Object
WriteTransaction.of(myTable, putItem(myItem));
WriteTransaction.of(myTable, deleteItem(Key.of(stringValue("id123"))));
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
MappedTable<T> |
mappedTable() |
static <T> WriteTransaction<T> |
of(MappedTable<T> mappedTable,
TransactableWriteOperation<T> writeOperation) |
TransactableWriteOperation<T> |
writeOperation() |
public static <T> WriteTransaction<T> of(MappedTable<T> mappedTable, TransactableWriteOperation<T> writeOperation)
public MappedTable<T> mappedTable()
public TransactableWriteOperation<T> writeOperation()
Copyright © 2020. All rights reserved.