Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MIT-DB-Class/simple-db-hw
/ functions
Functions
1,070 in github.com/MIT-DB-Class/simple-db-hw
⨍
Functions
1,070
◇
Types & classes
161
Method
modifyFields
Unit test for Tuple.getField() and Tuple.setField()
test/simpledb/TupleTest.java:15
Method
modifyRecordId
Unit test for Tuple.getRecordId() and Tuple.setRecordId()
test/simpledb/TupleTest.java:44
Method
nameOfAggregatorOp
(Aggregator.Op aop)
src/java/simpledb/Aggregate.java:81
Method
nameToId
Unit test for TupleDesc.nameToId()
test/simpledb/TupleDescTest.java:86
Method
negativeRangeTest
Test with a minimum and a maximum that are both negative numbers.
test/simpledb/IntHistogramTest.java:43
Method
next
()
test/simpledb/TestUtil.java:292
Method
next
()
src/java/simpledb/BTreeInternalPage.java:712
Method
next
()
src/java/simpledb/BTreeInternalPage.java:777
Method
next
()
src/java/simpledb/AbstractDbFileIterator.java:13
Method
next
()
src/java/simpledb/TupleIterator.java:44
Method
next
()
src/java/simpledb/BTreeLeafPage.java:547
Method
next
()
src/java/simpledb/BTreeLeafPage.java:597
Method
next
Gets the next tuple from the operator (typically implementing by reading from a child operator or an access method). @return The next tuple in the it
src/java/simpledb/Parser.java:733
Method
next
()
src/java/simpledb/Operator.java:23
Method
nextKeyLockingTestGreaterThan
()
test/simpledb/BTreeNextKeyLockingTest.java:137
Method
nextKeyLockingTestLessThan
()
test/simpledb/BTreeNextKeyLockingTest.java:34
Method
nonequalityOrderJoinsTest
Test a join ordering with an inequality, to make sure the inequality gets put as the outermost join
test/simpledb/JoinOptimizerTest.java:527
Method
numPages
Unit test for BTreeFile.numPages()
test/simpledb/BTreeFileReadTest.java:60
Method
numPages
Unit test for HeapFile.numPages()
test/simpledb/HeapFileReadTest.java:59
Method
numSlots
Unit test for BTreeHeaderPage.numSlots()
test/simpledb/BTreeHeaderPageTest.java:94
Method
opEqualsTest
Make sure that equality binning does something reasonable.
test/simpledb/IntHistogramTest.java:66
Method
opGreaterThanOrEqualsTest
Make sure that GREATER_THAN_OR_EQ binning does something reasonable.
test/simpledb/IntHistogramTest.java:123
Method
opGreaterThanTest
Make sure that GREATER_THAN binning does something reasonable.
test/simpledb/IntHistogramTest.java:83
Method
opLessThanOrEqualsTest
Make sure that LESS_THAN_OR_EQ binning does something reasonable.
test/simpledb/IntHistogramTest.java:144
Method
opLessThanTest
Make sure that LESS_THAN binning does something reasonable.
test/simpledb/IntHistogramTest.java:103
Method
opNotEqualsTest
Make sure that equality binning does something reasonable.
test/simpledb/IntHistogramTest.java:165
Method
open
()
test/simpledb/TestUtil.java:262
Method
open
()
src/java/simpledb/Project.java:48
Method
open
()
src/java/simpledb/OrderBy.java:56
Method
open
()
src/java/simpledb/HashEquiJoin.java:74
Method
open
()
src/java/simpledb/Parser.java:717
Method
open
()
src/java/simpledb/Operator.java:61
Method
open
Open the access method such that when getNext is called, it iterates through the tuples that satisfy ipred. @param ipred The predicate
src/java/simpledb/IndexOpIterator.java:12
Method
orderJoinsTest
Determine whether the orderJoins implementation is doing a reasonable job of ordering joins, and not taking an unreasonable amount of time to do so
test/simpledb/JoinOptimizerTest.java:272
Method
orderOfGrowthTest
Test to confirm that the IntHistogram implementation is constant-space (or, at least, reasonably small space; O(log(n)) might still work if your const
test/simpledb/IntHistogramTest.java:15
Method
pageno
Unit test for BTreePageId.pageno()
test/simpledb/BTreePageIdTest.java:40
Method
pageno
Unit test for HeapPageId.pageno()
test/simpledb/HeapPageIdTest.java:31
Method
printJoins
Helper function to display a Swing window with a tree representation of the specified list of joins. See {@link #orderJoins}, which may want to call t
src/java/simpledb/JoinOptimizer.java:437
Method
printQueryPlanTree
(OpIterator physicalPlan, PrintStream out)
src/java/simpledb/QueryPlanVisualizer.java:393
Method
queryTest
()
test/simpledb/systemtest/QueryTest.java:36
Method
readNext
()
test/simpledb/TestUtil.java:277
Method
readNext
Read the next tuple either from the current page if it has more tuples or from the next page by following the right sibling pointer. @return the next
src/java/simpledb/BTreeFile.java:1112
Method
readNext
Read the next tuple either from the current page if it has more tuples matching the predicate or from the next page by following the right sibling poi
src/java/simpledb/BTreeFile.java:1203
Method
readPage
Unit test for BTreeFile.readPage()
test/simpledb/BTreeFileReadTest.java:68
Method
readPage
Unit test for HeapFile.readPage()
test/simpledb/HeapFileReadTest.java:68
Method
readPage
(PageId id)
test/simpledb/TestUtil.java:205
Method
readPage
(PageId pid)
test/simpledb/systemtest/ScanTest.java:80
Method
readPage
(PageId pid)
test/simpledb/systemtest/BTreeScanTest.java:73
Method
readPage
(PageId pid)
src/java/simpledb/HeapFile.java:64
Method
readPage
Read a page from the file on disk. This should not be called directly but should be called from the BufferPool via getPage() @param pid - the id of t
src/java/simpledb/BTreeFile.java:79
Method
remove
()
src/java/simpledb/BTreeInternalPage.java:728
Method
remove
()
src/java/simpledb/BTreeInternalPage.java:793
Method
remove
()
src/java/simpledb/BTreeLeafPage.java:613
Method
rerun
(BTreeFile bf, int[] tupdata, BlockingQueue<ArrayList<Integer>> insertedTuples)
src/java/simpledb/BTreeUtility.java:721
Method
reset
Reset the tableid, and tableAlias of this operator. @param tableid the table to scan. @param tableAlias the alias of this table
src/java/simpledb/SeqScan.java:64
Method
resetTupleDesc
reset the TupleDesc of this tuple (only affecting the TupleDesc)
src/java/simpledb/Tuple.java:103
Method
rewind
Unit test for Aggregate.rewind()
test/simpledb/AggregateTest.java:99
Method
rewind
Unit test for Filter.rewind()
test/simpledb/FilterTest.java:39
Method
rewind
Unit test for Join.rewind()
test/simpledb/JoinTest.java:70
Method
rewind
()
test/simpledb/TestUtil.java:269
Method
rewind
()
src/java/simpledb/Project.java:59
Method
rewind
()
src/java/simpledb/Insert.java:42
Method
rewind
()
src/java/simpledb/OrderBy.java:72
Method
rewind
()
src/java/simpledb/TupleIterator.java:48
Method
rewind
rewind this iterator back to the beginning of the tuples
src/java/simpledb/BTreeFile.java:1139
Method
rewind
rewind this iterator back to the beginning of the tuples
src/java/simpledb/BTreeFile.java:1244
Method
rewind
()
src/java/simpledb/Delete.java:39
Method
rewind
()
src/java/simpledb/HashEquiJoin.java:92
Method
rewind
Resets the iterator to the start. @throws DbException When rewind is unsupported.
src/java/simpledb/Parser.java:744
Method
rewind
Begin a new index scan with the specified predicate. @param ipred The predicate that is used to scan the index.
src/java/simpledb/IndexOpIterator.java:18
Method
run
()
test/simpledb/TestUtil.java:334
Method
run
()
test/simpledb/systemtest/TransactionTest.java:84
Method
run
()
test/simpledb/systemtest/TransactionTest.java:199
Method
run
()
src/java/simpledb/BTreeUtility.java:517
Method
run
()
src/java/simpledb/BTreeUtility.java:605
Method
serialize
Return a representation of this object as an array of integers, for writing to disk. Size of returned array must contain number of integers that co
src/java/simpledb/HeapPageId.java:61
Method
serialize
Write this string to dos. Always writes maxSize + 4 bytes to the passed in dos. First four bytes are string length, next bytes are string, with remain
src/java/simpledb/StringField.java:56
Method
serialize
Return a representation of this object as an array of integers, for writing to disk. Size of returned array must contain number of integers that co
src/java/simpledb/BTreePageId.java:107
Method
serialize
(DataOutputStream dos)
src/java/simpledb/IntField.java:39
Method
setBeforeImage
()
src/java/simpledb/Page.java:58
Method
setChildren
(OpIterator[] children)
src/java/simpledb/Project.java:88
Method
setChildren
(OpIterator[] children)
src/java/simpledb/Insert.java:70
Method
setChildren
(OpIterator[] children)
src/java/simpledb/Aggregate.java:132
Method
setChildren
(OpIterator[] children)
src/java/simpledb/Filter.java:69
Method
setChildren
(OpIterator[] children)
src/java/simpledb/Join.java:103
Method
setChildren
(OpIterator[] children)
src/java/simpledb/OrderBy.java:96
Method
setChildren
(OpIterator[] children)
src/java/simpledb/Delete.java:63
Method
setChildren
(OpIterator[] children)
src/java/simpledb/HashEquiJoin.java:167
Method
setChildren
Set the children(child) of this operator. If the operator has only one child, children[0] should be used. If the operator is a join, children[0] and c
src/java/simpledb/Operator.java:83
Method
setHeaderId
Unit test for BTreeRootPtrPage.setHeaderId()
test/simpledb/BTreeRootPtrPageTest.java:95
Method
setLeftChild
Set the left child id for this entry. Note that updating a BTreeEntry does not actually change the data stored on the page identified by its recordId
src/java/simpledb/BTreeEntry.java:105
Method
setLeftSiblingId
Unit test for BTreeLeafPage.setLeftSiblingId()
test/simpledb/BTreeLeafPageTest.java:128
Method
setNextPageId
Unit test for BTreeHeaderPage.setNextPageId()
test/simpledb/BTreeHeaderPageTest.java:76
Method
setParentId
Unit test for BTreeInternalPage.getParentId()
test/simpledb/BTreeInternalPageTest.java:96
Method
setPrevPageId
Unit test for BTreeHeaderPage.setPrevPageId()
test/simpledb/BTreeHeaderPageTest.java:58
Method
setRightChild
Set the right child id for this entry. Note that updating a BTreeEntry does not actually change the data stored on the page identified by its recordI
src/java/simpledb/BTreeEntry.java:117
Method
setRightSiblingId
Unit test for BTreeLeafPage.setRightSiblingId()
test/simpledb/BTreeLeafPageTest.java:146
Method
setRootId
Unit test for BTreeRootPtrPage.setRootId()
test/simpledb/BTreeRootPtrPageTest.java:61
Method
setStatsMap
(HashMap<String,TableStats> s)
src/java/simpledb/TableStats.java:28
Method
setUp
Set up initial resources for each unit test.
test/simpledb/DeadlockTest.java:26
← previous
next →
801–900 of 1,070, ranked by callers