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) |
MappedTable<T> |
getMappedTable() |
TransactableWriteOperation<T> |
getWriteOperation() |
int |
hashCode() |
static <T> WriteTransaction<T> |
of(MappedTable<T> mappedTable,
TransactableWriteOperation<T> writeOperation) |
public static <T> WriteTransaction<T> of(MappedTable<T> mappedTable, TransactableWriteOperation<T> writeOperation)
public MappedTable<T> getMappedTable()
public TransactableWriteOperation<T> getWriteOperation()
Copyright © 2019. All rights reserved.