MCPcopy Create free account
hub / github.com/MIT-DB-Class/simple-db-hw / deleteTuple

Method deleteTuple

src/java/simpledb/DbFile.java:59–59  ·  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

source not stored for this graph (policy: none)

Callers 8

setUpMethod · 0.65
deleteTupleMethod · 0.65
testReuseDeletedPagesMethod · 0.65
runMethod · 0.65

Implementers 3

SkeletonFiletest/simpledb/TestUtil.java
HeapFilesrc/java/simpledb/HeapFile.java
BTreeFilesrc/java/simpledb/BTreeFile.java

Calls

no outgoing calls

Tested by 7

setUpMethod · 0.52
deleteTupleMethod · 0.52
testReuseDeletedPagesMethod · 0.52