MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / deleteTuple

Method deleteTuple

src/java/simpledb/storage/DbFile.java:64–64  ·  view source on GitHub ↗

Removes the specified tuple from the file on behalf of the specified transaction. This method will acquire a lock on the affected pages of the file, and may block until the lock can be acquired. @param tid The transaction performing the update @param t The tuple to delete. This tuple should be upd

(TransactionId tid, Tuple t)

Source from the content-addressed store, hash-verified

62 * of the file
63 */
64 List<Page> deleteTuple(TransactionId tid, Tuple t)
65 throws DbException, IOException, TransactionAbortedException;
66
67 /**

Callers 13

deleteTupleMethod · 0.95
setUpMethod · 0.65
deleteTupleMethod · 0.65
testReuseDeletedPagesMethod · 0.65
splitLeafPageMethod · 0.65
stealFromLeafPageMethod · 0.65
mergeLeafPagesMethod · 0.65
runMethod · 0.65

Implementers 3

SkeletonFiletest/simpledb/TestUtil.java
HeapFilesrc/java/simpledb/storage/HeapFile.jav
BTreeFilesrc/java/simpledb/index/BTreeFile.java

Calls

no outgoing calls

Tested by 7

setUpMethod · 0.52
deleteTupleMethod · 0.52
testReuseDeletedPagesMethod · 0.52