public class TxReport extends Object
TxReport report = mentat.transact("[[:db/add "a" :foo/boolean true]]");
long aEntid = report.getEntidForTempId("a");
| Constructor and Description |
|---|
TxReport(JNA.TxReport pointer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
destroyPointer(JNA.TxReport p) |
protected void |
finalize() |
Long |
getEntidForTempId(String tempId)
Access an `Entid` for a temporary identifier that was provided in the transaction.
|
Long |
getTxId()
Get the identifier for the transaction.
|
Date |
getTxInstant()
Get the time that the transaction occured.
|
public TxReport(JNA.TxReport pointer)
public Long getTxId()
public Date getTxInstant()
public Long getEntidForTempId(String tempId)
tempId - A String representing the temporary identifier to fetch the `Entid` for.protected void destroyPointer(JNA.TxReport p)
public void close()
close in interface AutoCloseable