MCPcopy Create free account

hub / github.com/MIT-DB-Class/simple-db-hw / functions

Functions1,070 in github.com/MIT-DB-Class/simple-db-hw

MethodmodifyFields
Unit test for Tuple.getField() and Tuple.setField()
test/simpledb/TupleTest.java:15
MethodmodifyRecordId
Unit test for Tuple.getRecordId() and Tuple.setRecordId()
test/simpledb/TupleTest.java:44
MethodnameOfAggregatorOp
(Aggregator.Op aop)
src/java/simpledb/Aggregate.java:81
MethodnameToId
Unit test for TupleDesc.nameToId()
test/simpledb/TupleDescTest.java:86
MethodnegativeRangeTest
Test with a minimum and a maximum that are both negative numbers.
test/simpledb/IntHistogramTest.java:43
Methodnext
()
test/simpledb/TestUtil.java:292
Methodnext
()
src/java/simpledb/BTreeInternalPage.java:712
Methodnext
()
src/java/simpledb/BTreeInternalPage.java:777
Methodnext
()
src/java/simpledb/AbstractDbFileIterator.java:13
Methodnext
()
src/java/simpledb/TupleIterator.java:44
Methodnext
()
src/java/simpledb/BTreeLeafPage.java:547
Methodnext
()
src/java/simpledb/BTreeLeafPage.java:597
Methodnext
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
Methodnext
()
src/java/simpledb/Operator.java:23
MethodnextKeyLockingTestGreaterThan
()
test/simpledb/BTreeNextKeyLockingTest.java:137
MethodnextKeyLockingTestLessThan
()
test/simpledb/BTreeNextKeyLockingTest.java:34
MethodnonequalityOrderJoinsTest
Test a join ordering with an inequality, to make sure the inequality gets put as the outermost join
test/simpledb/JoinOptimizerTest.java:527
MethodnumPages
Unit test for BTreeFile.numPages()
test/simpledb/BTreeFileReadTest.java:60
MethodnumPages
Unit test for HeapFile.numPages()
test/simpledb/HeapFileReadTest.java:59
MethodnumSlots
Unit test for BTreeHeaderPage.numSlots()
test/simpledb/BTreeHeaderPageTest.java:94
MethodopEqualsTest
Make sure that equality binning does something reasonable.
test/simpledb/IntHistogramTest.java:66
MethodopGreaterThanOrEqualsTest
Make sure that GREATER_THAN_OR_EQ binning does something reasonable.
test/simpledb/IntHistogramTest.java:123
MethodopGreaterThanTest
Make sure that GREATER_THAN binning does something reasonable.
test/simpledb/IntHistogramTest.java:83
MethodopLessThanOrEqualsTest
Make sure that LESS_THAN_OR_EQ binning does something reasonable.
test/simpledb/IntHistogramTest.java:144
MethodopLessThanTest
Make sure that LESS_THAN binning does something reasonable.
test/simpledb/IntHistogramTest.java:103
MethodopNotEqualsTest
Make sure that equality binning does something reasonable.
test/simpledb/IntHistogramTest.java:165
Methodopen
()
test/simpledb/TestUtil.java:262
Methodopen
()
src/java/simpledb/Project.java:48
Methodopen
()
src/java/simpledb/OrderBy.java:56
Methodopen
()
src/java/simpledb/HashEquiJoin.java:74
Methodopen
()
src/java/simpledb/Parser.java:717
Methodopen
()
src/java/simpledb/Operator.java:61
Methodopen
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
MethodorderJoinsTest
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
MethodorderOfGrowthTest
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
Methodpageno
Unit test for BTreePageId.pageno()
test/simpledb/BTreePageIdTest.java:40
Methodpageno
Unit test for HeapPageId.pageno()
test/simpledb/HeapPageIdTest.java:31
MethodprintJoins
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
MethodprintQueryPlanTree
(OpIterator physicalPlan, PrintStream out)
src/java/simpledb/QueryPlanVisualizer.java:393
MethodqueryTest
()
test/simpledb/systemtest/QueryTest.java:36
MethodreadNext
()
test/simpledb/TestUtil.java:277
MethodreadNext
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
MethodreadNext
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
MethodreadPage
Unit test for BTreeFile.readPage()
test/simpledb/BTreeFileReadTest.java:68
MethodreadPage
Unit test for HeapFile.readPage()
test/simpledb/HeapFileReadTest.java:68
MethodreadPage
(PageId id)
test/simpledb/TestUtil.java:205
MethodreadPage
(PageId pid)
test/simpledb/systemtest/ScanTest.java:80
MethodreadPage
(PageId pid)
test/simpledb/systemtest/BTreeScanTest.java:73
MethodreadPage
(PageId pid)
src/java/simpledb/HeapFile.java:64
MethodreadPage
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
Methodremove
()
src/java/simpledb/BTreeInternalPage.java:728
Methodremove
()
src/java/simpledb/BTreeInternalPage.java:793
Methodremove
()
src/java/simpledb/BTreeLeafPage.java:613
Methodrerun
(BTreeFile bf, int[] tupdata, BlockingQueue<ArrayList<Integer>> insertedTuples)
src/java/simpledb/BTreeUtility.java:721
Methodreset
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
MethodresetTupleDesc
reset the TupleDesc of this tuple (only affecting the TupleDesc)
src/java/simpledb/Tuple.java:103
Methodrewind
Unit test for Aggregate.rewind()
test/simpledb/AggregateTest.java:99
Methodrewind
Unit test for Filter.rewind()
test/simpledb/FilterTest.java:39
Methodrewind
Unit test for Join.rewind()
test/simpledb/JoinTest.java:70
Methodrewind
()
test/simpledb/TestUtil.java:269
Methodrewind
()
src/java/simpledb/Project.java:59
Methodrewind
()
src/java/simpledb/Insert.java:42
Methodrewind
()
src/java/simpledb/OrderBy.java:72
Methodrewind
()
src/java/simpledb/TupleIterator.java:48
Methodrewind
rewind this iterator back to the beginning of the tuples
src/java/simpledb/BTreeFile.java:1139
Methodrewind
rewind this iterator back to the beginning of the tuples
src/java/simpledb/BTreeFile.java:1244
Methodrewind
()
src/java/simpledb/Delete.java:39
Methodrewind
()
src/java/simpledb/HashEquiJoin.java:92
Methodrewind
Resets the iterator to the start. @throws DbException When rewind is unsupported.
src/java/simpledb/Parser.java:744
Methodrewind
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
Methodrun
()
test/simpledb/TestUtil.java:334
Methodrun
()
test/simpledb/systemtest/TransactionTest.java:84
Methodrun
()
test/simpledb/systemtest/TransactionTest.java:199
Methodrun
()
src/java/simpledb/BTreeUtility.java:517
Methodrun
()
src/java/simpledb/BTreeUtility.java:605
Methodserialize
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
Methodserialize
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
Methodserialize
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
Methodserialize
(DataOutputStream dos)
src/java/simpledb/IntField.java:39
MethodsetBeforeImage
()
src/java/simpledb/Page.java:58
MethodsetChildren
(OpIterator[] children)
src/java/simpledb/Project.java:88
MethodsetChildren
(OpIterator[] children)
src/java/simpledb/Insert.java:70
MethodsetChildren
(OpIterator[] children)
src/java/simpledb/Aggregate.java:132
MethodsetChildren
(OpIterator[] children)
src/java/simpledb/Filter.java:69
MethodsetChildren
(OpIterator[] children)
src/java/simpledb/Join.java:103
MethodsetChildren
(OpIterator[] children)
src/java/simpledb/OrderBy.java:96
MethodsetChildren
(OpIterator[] children)
src/java/simpledb/Delete.java:63
MethodsetChildren
(OpIterator[] children)
src/java/simpledb/HashEquiJoin.java:167
MethodsetChildren
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
MethodsetHeaderId
Unit test for BTreeRootPtrPage.setHeaderId()
test/simpledb/BTreeRootPtrPageTest.java:95
MethodsetLeftChild
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
MethodsetLeftSiblingId
Unit test for BTreeLeafPage.setLeftSiblingId()
test/simpledb/BTreeLeafPageTest.java:128
MethodsetNextPageId
Unit test for BTreeHeaderPage.setNextPageId()
test/simpledb/BTreeHeaderPageTest.java:76
MethodsetParentId
Unit test for BTreeInternalPage.getParentId()
test/simpledb/BTreeInternalPageTest.java:96
MethodsetPrevPageId
Unit test for BTreeHeaderPage.setPrevPageId()
test/simpledb/BTreeHeaderPageTest.java:58
MethodsetRightChild
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
MethodsetRightSiblingId
Unit test for BTreeLeafPage.setRightSiblingId()
test/simpledb/BTreeLeafPageTest.java:146
MethodsetRootId
Unit test for BTreeRootPtrPage.setRootId()
test/simpledb/BTreeRootPtrPageTest.java:61
MethodsetStatsMap
(HashMap<String,TableStats> s)
src/java/simpledb/TableStats.java:28
MethodsetUp
Set up initial resources for each unit test.
test/simpledb/DeadlockTest.java:26
← previousnext →801–900 of 1,070, ranked by callers