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

MethodgetNext
Unit test for Insert.getNext(), inserting elements into an empty file
test/simpledb/InsertTest.java:48
MethodgetNextPageId
Unit test for BTreeHeaderPage.getNextPageId()
test/simpledb/BTreeHeaderPageTest.java:50
MethodgetNumEmptySlots
Unit test for BTreeInternalPage.getNumEmptySlots()
test/simpledb/BTreeInternalPageTest.java:172
MethodgetNumEmptySlots
Unit test for HeapPage.getNumEmptySlots()
test/simpledb/HeapPageReadTest.java:105
MethodgetNumEmptySlots
Unit test for BTreeLeafPage.getNumEmptySlots()
test/simpledb/BTreeLeafPageTest.java:191
MethodgetNumEmptySlots
Returns the number of empty slots on this page.
src/java/simpledb/BTreePage.java:134
MethodgetOp
Interface to access operations by a string containing an integer index for command-line convenience. @param s a string containing a valid integer Op
src/java/simpledb/Aggregator.java:36
MethodgetOp
()
src/java/simpledb/IndexPredicate.java:34
MethodgetOp
Interface to access operations by integer value for command-line convenience. @param i a valid integer Op index
src/java/simpledb/Predicate.java:23
MethodgetOrderFieldName
()
src/java/simpledb/OrderBy.java:47
MethodgetPageData
Unit test for BTreeHeaderPage.getPageData()
test/simpledb/BTreeHeaderPageTest.java:140
MethodgetParentWithEmptySlots
Method to encapsulate the process of getting a parent page ready to accept new entries. This may mean creating a page to become the new root of the tr
src/java/simpledb/BTreeFile.java:308
MethodgetPhysicalPlan
()
src/java/simpledb/Query.java:40
MethodgetPrevPageId
Unit test for BTreeHeaderPage.getPrevPageId()
test/simpledb/BTreeHeaderPageTest.java:42
MethodgetRightSiblingId
Unit test for BTreeLeafPage.getRightSiblingId()
test/simpledb/BTreeLeafPageTest.java:102
MethodgetRootId
Unit test for BTreeRootPtrPage.getRootId()
test/simpledb/BTreeRootPtrPageTest.java:53
MethodgetSize
Unit test for TupleDesc.getSize()
test/simpledb/TupleDescTest.java:127
MethodgetSlot
Unit test for BTreeHeaderPage.isSlotUsed() and BTreeHeaderPage.markSlotUsed()
test/simpledb/BTreeHeaderPageTest.java:113
MethodgetSlot
Unit test for BTreeInternalPage.isSlotUsed()
test/simpledb/BTreeInternalPageTest.java:180
MethodgetSlot
Unit test for HeapPage.isSlotUsed()
test/simpledb/HeapPageReadTest.java:113
MethodgetSlot
Unit test for BTreeLeafPage.isSlotUsed()
test/simpledb/BTreeLeafPageTest.java:199
MethodgetTableId
Unit test for BTreePageId.getTableId()
test/simpledb/BTreePageIdTest.java:30
MethodgetTableId
Unit test for HeapPageId.getTableId()
test/simpledb/HeapPageIdTest.java:24
MethodgetTableId
Unit test for Catalog.getTableId()
test/simpledb/CatalogTest.java:45
MethodgetTableId
Return the id of the table with a specified name, @throws NoSuchElementException if the table doesn't exist
src/java/simpledb/Catalog.java:61
MethodgetTableId
@return the table associated with this PageId
src/java/simpledb/BTreePageId.java:47
MethodgetTableStats
(String tablename)
src/java/simpledb/TableStats.java:20
MethodgetTransaction
()
src/java/simpledb/Parser.java:491
MethodgetTransactionId
()
src/java/simpledb/Query.java:24
MethodgetTuple
@return a Tuple with a 'width' IntFields with the value tupledata[i] in each field. do not set it's RecordId, hence do not distinguish
src/java/simpledb/Utility.java:86
MethodgetTupleDesc
Unit test for BTreeFile.getTupleDesc()
test/simpledb/BTreeFileReadTest.java:53
MethodgetTupleDesc
Unit test for Aggregate.getTupleDesc()
test/simpledb/AggregateTest.java:88
MethodgetTupleDesc
Unit test for Insert.getTupleDesc()
test/simpledb/InsertTest.java:38
MethodgetTupleDesc
Unit test for Catalog.getTupleDesc()
test/simpledb/CatalogTest.java:35
MethodgetTupleDesc
Unit test for Filter.getTupleDesc()
test/simpledb/FilterTest.java:28
MethodgetTupleDesc
Unit test for Join.getTupleDesc()
test/simpledb/JoinTest.java:59
MethodgetTupleDesc
Unit test for HeapFile.getTupleDesc()
test/simpledb/HeapFileReadTest.java:52
MethodgetTupleDesc
Unit test for Tuple.getTupleDesc()
test/simpledb/TupleTest.java:35
MethodgetTupleDesc
()
test/simpledb/TestUtil.java:239
MethodgetTupleDesc
Returns the TupleDesc of the table stored in this DbFile. @return TupleDesc of this DbFile.
src/java/simpledb/HeapFile.java:58
MethodgetTupleDesc
()
src/java/simpledb/OrderBy.java:52
MethodgetTupleDesc
()
src/java/simpledb/TupleIterator.java:53
MethodgetTupleDesc
Returns the TupleDesc of the table stored in this DbFile. @return TupleDesc of this DbFile.
src/java/simpledb/BTreeFile.java:68
MethodgetTupleDesc
Returns the TupleDesc with field names from the underlying BTreeFile, prefixed with the tableAlias string from the constructor. This prefix becomes us
src/java/simpledb/BTreeScan.java:119
MethodgetTupleDesc
Returns the tuple descriptor (schema) of the specified table @param tableid The id of the table, as specified by the DbFile.getId() function passe
src/java/simpledb/Catalog.java:72
MethodgetTupleDesc
Returns the TupleDesc with field names from the underlying HeapFile, prefixed with the tableAlias string from the constructor. This prefix becomes use
src/java/simpledb/SeqScan.java:86
MethodgetTupleDesc
()
src/java/simpledb/Delete.java:26
MethodgetTupleDesc
Returns the TupleDesc associated with this OpIterator.
src/java/simpledb/Parser.java:751
MethodgetTupleDesc
@return return the TupleDesc of the output tuples of this operator
src/java/simpledb/Operator.java:88
MethodgetType
Unit test for TupleDesc.getType()
test/simpledb/TupleDescTest.java:73
MethodgetType
@return the Type for this Field
src/java/simpledb/StringField.java:111
MethodgetType
Return the Type of this field. @return Type.INT_TYPE
src/java/simpledb/IntField.java:83
MethodgetValue
()
src/java/simpledb/StringField.java:15
MethodgtJoin
Unit test for Join.getNext() using a > predicate
test/simpledb/JoinTest.java:89
MethodhCode
Unit test for RecordId.hashCode()
test/simpledb/RecordIdTest.java:61
MethodhandleDuplicateIds
Check that duplicate file ids are handled correctly
test/simpledb/CatalogTest.java:88
MethodhandleDuplicateNames
Check that duplicate names are handled correctly
test/simpledb/CatalogTest.java:79
MethodhandleManyDirtyPages
()
test/simpledb/BufferPoolWriteTest.java:119
MethodhasNext
()
test/simpledb/TestUtil.java:287
MethodhasNext
()
src/java/simpledb/AbstractDbFileIterator.java:8
MethodhasNext
()
src/java/simpledb/TupleIterator.java:40
MethodhasNext
@return true if the iterator has more items.
src/java/simpledb/Parser.java:722
MethodhasNext
()
src/java/simpledb/Operator.java:14
MethodhashCode
@return a hash code for this page, represented by the concatenation of the table number and the page number (needed if a PageId is used as a key i
src/java/simpledb/PageId.java:23
MethodhashCode
@return a hash code for this page, represented by the concatenation of the table number and the page number (needed if a PageId is used as a key i
src/java/simpledb/HeapPageId.java:38
MethodhashCode
()
src/java/simpledb/StringField.java:40
MethodhashCode
()
src/java/simpledb/LogicalSubplanJoinNode.java:24
MethodhashCode
()
src/java/simpledb/TupleDesc.java:168
MethodhashCode
()
src/java/simpledb/TransactionId.java:38
MethodhashCode
You should implement the hashCode() so that two equal RecordId instances (with respect to equals()) have the same hashCode(). @return An int that is
src/java/simpledb/RecordId.java:60
MethodhashCode
()
src/java/simpledb/LogicalJoinNode.java:75
MethodhashCode
@return a hash code for this page, represented by the concatenation of the table number, page number, and pgcateg (needed if a PageId is used as a
src/java/simpledb/BTreePageId.java:72
MethodhashCode
()
src/java/simpledb/IntField.java:31
MethodholdsLock
Return true if the specified transaction has a lock on the specified page
src/java/simpledb/BufferPool.java:98
MethodinsertTuple
(TransactionId tid, Tuple t)
test/simpledb/BufferPoolWriteTest.java:32
MethodinsertTuple
Unit test for BufferPool.insertTuple()
test/simpledb/BufferPoolWriteTest.java:66
MethodinsertTuple
(TransactionId tid, Tuple t)
test/simpledb/TestUtil.java:217
MethodinsertTuple
(TransactionId tid, Tuple t)
src/java/simpledb/HeapFile.java:84
MethodinsertTuple
Add a tuple to the specified table on behalf of transaction tid. Will acquire a write lock on the page the tuple is added to and any other pages that
src/java/simpledb/BufferPool.java:132
MethodisASC
()
src/java/simpledb/OrderBy.java:37
MethodisDirty
Returns the tid of the transaction that last dirtied this page, or null if the page is not dirty
src/java/simpledb/BTreePage.java:124
MethodisSlotUsed
Returns true if associated slot on this page is filled.
src/java/simpledb/BTreePage.java:139
Methoditerator
(TransactionId tid)
test/simpledb/TestUtil.java:235
Methoditerator
Create a OpIterator over group aggregate results. @see simpledb.TupleIterator for a possible helper
src/java/simpledb/Aggregator.java:83
Methoditerator
@return An iterator which iterates over all the field TDItems that are included in this TupleDesc
src/java/simpledb/TupleDesc.java:43
MethodlockUpgrade
Unit test for BufferPool.getPage() assuming locking. Attempt lock upgrade.
test/simpledb/LockingTest.java:157
MethodlogWrite
Write an UPDATE record to disk for the specified tid and page (with provided before and after images.) @param tid The transact
src/java/simpledb/LogFile.java:197
Methodmain
(String args[])
src/java/simpledb/SimpleDb.java:5
Methodmain
(String argv[])
src/java/simpledb/Parser.java:586
Methodmain
(String argv[])
src/java/simpledb/LogicalPlan.java:484
MethodmarkDirty
Marks this page as dirty/not dirty and record that transaction that did the dirtying
src/java/simpledb/BTreePage.java:116
MethodmarkSlotUsed
Abstraction to fill or clear a slot on this page.
src/java/simpledb/HeapPage.java:299
MethodmaxAggregate
Unit test for Aggregate.getNext() using a max aggregate
test/simpledb/AggregateTest.java:160
MethodmergeAvg
Test IntegerAggregator.mergeTupleIntoGroup() and iterator() over an avg
test/simpledb/IntegerAggregatorTest.java:116
MethodmergeCount
Test String.mergeTupleIntoGroup() and iterator() over a COUNT
test/simpledb/StringAggregatorTest.java:44
MethodmergeMax
Test IntegerAggregator.mergeTupleIntoGroup() and iterator() over a max
test/simpledb/IntegerAggregatorTest.java:100
MethodmergeMin
Test IntegerAggregator.mergeTupleIntoGroup() and iterator() over a min
test/simpledb/IntegerAggregatorTest.java:84
MethodmergeSum
Test IntegerAggregator.mergeTupleIntoGroup() and iterator() over a sum
test/simpledb/IntegerAggregatorTest.java:69
MethodmergeTupleIntoGroup
Merge a new tuple into the aggregate for a distinct group value; creates a new group aggregate result if the group value has not yet been encountered.
src/java/simpledb/Aggregator.java:77
MethodminAggregate
Unit test for Aggregate.getNext() using a min aggregate
test/simpledb/AggregateTest.java:171
← previousnext →701–800 of 1,070, ranked by callers