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

Method insertTuple

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

Inserts the specified tuple to the file on behalf of 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 add. This tuple should be updated to reflect tha

(TransactionId tid, Tuple t)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

setUpMethod · 0.65
setUpMethod · 0.65
setUpMethod · 0.65
addTupleMethod · 0.65
insertTupleMethod · 0.65
handleManyDirtyPagesMethod · 0.65
testSplitLeafPageMethod · 0.65
testSplitRootPageMethod · 0.65
testSplitInternalPageMethod · 0.65
testReuseDeletedPagesMethod · 0.65
convertMethod · 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 10

setUpMethod · 0.52
setUpMethod · 0.52
setUpMethod · 0.52
addTupleMethod · 0.52
insertTupleMethod · 0.52
handleManyDirtyPagesMethod · 0.52
testSplitLeafPageMethod · 0.52
testSplitRootPageMethod · 0.52
testSplitInternalPageMethod · 0.52
testReuseDeletedPagesMethod · 0.52