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

Method insertTuple

src/java/simpledb/BTreeLeafPage.java:309–359  ·  view source on GitHub ↗

Adds the specified tuple to the page such that all records remain in sorted order; the tuple should be updated to reflect that it is now stored on this page. @throws DbException if the page is full (no empty slots) or tupledesc is mismatch. @param t The tuple to add.

(Tuple t)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

addTupleMethod · 0.95
insertTupleMethod · 0.95

Calls 11

isSlotUsedMethod · 0.95
moveRecordMethod · 0.95
markSlotUsedMethod · 0.95
logMethod · 0.95
equalsMethod · 0.65
getTupleDescMethod · 0.65
compareMethod · 0.65
getTableIdMethod · 0.65
getPageNumberMethod · 0.65
getFieldMethod · 0.45
setRecordIdMethod · 0.45

Tested by 1

addTupleMethod · 0.76