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() |
MappedTableResource<T> |
mappedTableResource() |
static <T> WriteTransaction<T> |
of(MappedTableResource<T> mappedTableResource,
TransactableWriteOperation<T> writeOperation) |
TransactableWriteOperation<T> |
writeOperation() |
public static <T> WriteTransaction<T> of(MappedTableResource<T> mappedTableResource, TransactableWriteOperation<T> writeOperation)
public MappedTableResource<T> mappedTableResource()
public TransactableWriteOperation<T> writeOperation()
Copyright © 2020. All rights reserved.