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
getNext
Unit test for Insert.getNext(), inserting elements into an empty file
test/simpledb/InsertTest.java:48
Method
getNextPageId
Unit test for BTreeHeaderPage.getNextPageId()
test/simpledb/BTreeHeaderPageTest.java:50
Method
getNumEmptySlots
Unit test for BTreeInternalPage.getNumEmptySlots()
test/simpledb/BTreeInternalPageTest.java:172
Method
getNumEmptySlots
Unit test for HeapPage.getNumEmptySlots()
test/simpledb/HeapPageReadTest.java:105
Method
getNumEmptySlots
Unit test for BTreeLeafPage.getNumEmptySlots()
test/simpledb/BTreeLeafPageTest.java:191
Method
getNumEmptySlots
Returns the number of empty slots on this page.
src/java/simpledb/BTreePage.java:134
Method
getOp
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
Method
getOp
()
src/java/simpledb/IndexPredicate.java:34
Method
getOp
Interface to access operations by integer value for command-line convenience. @param i a valid integer Op index
src/java/simpledb/Predicate.java:23
Method
getOrderFieldName
()
src/java/simpledb/OrderBy.java:47
Method
getPageData
Unit test for BTreeHeaderPage.getPageData()
test/simpledb/BTreeHeaderPageTest.java:140
Method
getParentWithEmptySlots
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
Method
getPhysicalPlan
()
src/java/simpledb/Query.java:40
Method
getPrevPageId
Unit test for BTreeHeaderPage.getPrevPageId()
test/simpledb/BTreeHeaderPageTest.java:42
Method
getRightSiblingId
Unit test for BTreeLeafPage.getRightSiblingId()
test/simpledb/BTreeLeafPageTest.java:102
Method
getRootId
Unit test for BTreeRootPtrPage.getRootId()
test/simpledb/BTreeRootPtrPageTest.java:53
Method
getSize
Unit test for TupleDesc.getSize()
test/simpledb/TupleDescTest.java:127
Method
getSlot
Unit test for BTreeHeaderPage.isSlotUsed() and BTreeHeaderPage.markSlotUsed()
test/simpledb/BTreeHeaderPageTest.java:113
Method
getSlot
Unit test for BTreeInternalPage.isSlotUsed()
test/simpledb/BTreeInternalPageTest.java:180
Method
getSlot
Unit test for HeapPage.isSlotUsed()
test/simpledb/HeapPageReadTest.java:113
Method
getSlot
Unit test for BTreeLeafPage.isSlotUsed()
test/simpledb/BTreeLeafPageTest.java:199
Method
getTableId
Unit test for BTreePageId.getTableId()
test/simpledb/BTreePageIdTest.java:30
Method
getTableId
Unit test for HeapPageId.getTableId()
test/simpledb/HeapPageIdTest.java:24
Method
getTableId
Unit test for Catalog.getTableId()
test/simpledb/CatalogTest.java:45
Method
getTableId
Return the id of the table with a specified name, @throws NoSuchElementException if the table doesn't exist
src/java/simpledb/Catalog.java:61
Method
getTableId
@return the table associated with this PageId
src/java/simpledb/BTreePageId.java:47
Method
getTableStats
(String tablename)
src/java/simpledb/TableStats.java:20
Method
getTransaction
()
src/java/simpledb/Parser.java:491
Method
getTransactionId
()
src/java/simpledb/Query.java:24
Method
getTuple
@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
Method
getTupleDesc
Unit test for BTreeFile.getTupleDesc()
test/simpledb/BTreeFileReadTest.java:53
Method
getTupleDesc
Unit test for Aggregate.getTupleDesc()
test/simpledb/AggregateTest.java:88
Method
getTupleDesc
Unit test for Insert.getTupleDesc()
test/simpledb/InsertTest.java:38
Method
getTupleDesc
Unit test for Catalog.getTupleDesc()
test/simpledb/CatalogTest.java:35
Method
getTupleDesc
Unit test for Filter.getTupleDesc()
test/simpledb/FilterTest.java:28
Method
getTupleDesc
Unit test for Join.getTupleDesc()
test/simpledb/JoinTest.java:59
Method
getTupleDesc
Unit test for HeapFile.getTupleDesc()
test/simpledb/HeapFileReadTest.java:52
Method
getTupleDesc
Unit test for Tuple.getTupleDesc()
test/simpledb/TupleTest.java:35
Method
getTupleDesc
()
test/simpledb/TestUtil.java:239
Method
getTupleDesc
Returns the TupleDesc of the table stored in this DbFile. @return TupleDesc of this DbFile.
src/java/simpledb/HeapFile.java:58
Method
getTupleDesc
()
src/java/simpledb/OrderBy.java:52
Method
getTupleDesc
()
src/java/simpledb/TupleIterator.java:53
Method
getTupleDesc
Returns the TupleDesc of the table stored in this DbFile. @return TupleDesc of this DbFile.
src/java/simpledb/BTreeFile.java:68
Method
getTupleDesc
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
Method
getTupleDesc
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
Method
getTupleDesc
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
Method
getTupleDesc
()
src/java/simpledb/Delete.java:26
Method
getTupleDesc
Returns the TupleDesc associated with this OpIterator.
src/java/simpledb/Parser.java:751
Method
getTupleDesc
@return return the TupleDesc of the output tuples of this operator
src/java/simpledb/Operator.java:88
Method
getType
Unit test for TupleDesc.getType()
test/simpledb/TupleDescTest.java:73
Method
getType
@return the Type for this Field
src/java/simpledb/StringField.java:111
Method
getType
Return the Type of this field. @return Type.INT_TYPE
src/java/simpledb/IntField.java:83
Method
getValue
()
src/java/simpledb/StringField.java:15
Method
gtJoin
Unit test for Join.getNext() using a > predicate
test/simpledb/JoinTest.java:89
Method
hCode
Unit test for RecordId.hashCode()
test/simpledb/RecordIdTest.java:61
Method
handleDuplicateIds
Check that duplicate file ids are handled correctly
test/simpledb/CatalogTest.java:88
Method
handleDuplicateNames
Check that duplicate names are handled correctly
test/simpledb/CatalogTest.java:79
Method
handleManyDirtyPages
()
test/simpledb/BufferPoolWriteTest.java:119
Method
hasNext
()
test/simpledb/TestUtil.java:287
Method
hasNext
()
src/java/simpledb/AbstractDbFileIterator.java:8
Method
hasNext
()
src/java/simpledb/TupleIterator.java:40
Method
hasNext
@return true if the iterator has more items.
src/java/simpledb/Parser.java:722
Method
hasNext
()
src/java/simpledb/Operator.java:14
Method
hashCode
@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
Method
hashCode
@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
Method
hashCode
()
src/java/simpledb/StringField.java:40
Method
hashCode
()
src/java/simpledb/LogicalSubplanJoinNode.java:24
Method
hashCode
()
src/java/simpledb/TupleDesc.java:168
Method
hashCode
()
src/java/simpledb/TransactionId.java:38
Method
hashCode
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
Method
hashCode
()
src/java/simpledb/LogicalJoinNode.java:75
Method
hashCode
@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
Method
hashCode
()
src/java/simpledb/IntField.java:31
Method
holdsLock
Return true if the specified transaction has a lock on the specified page
src/java/simpledb/BufferPool.java:98
Method
insertTuple
(TransactionId tid, Tuple t)
test/simpledb/BufferPoolWriteTest.java:32
Method
insertTuple
Unit test for BufferPool.insertTuple()
test/simpledb/BufferPoolWriteTest.java:66
Method
insertTuple
(TransactionId tid, Tuple t)
test/simpledb/TestUtil.java:217
Method
insertTuple
(TransactionId tid, Tuple t)
src/java/simpledb/HeapFile.java:84
Method
insertTuple
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
Method
isASC
()
src/java/simpledb/OrderBy.java:37
Method
isDirty
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
Method
isSlotUsed
Returns true if associated slot on this page is filled.
src/java/simpledb/BTreePage.java:139
Method
iterator
(TransactionId tid)
test/simpledb/TestUtil.java:235
Method
iterator
Create a OpIterator over group aggregate results. @see simpledb.TupleIterator for a possible helper
src/java/simpledb/Aggregator.java:83
Method
iterator
@return An iterator which iterates over all the field TDItems that are included in this TupleDesc
src/java/simpledb/TupleDesc.java:43
Method
lockUpgrade
Unit test for BufferPool.getPage() assuming locking. Attempt lock upgrade.
test/simpledb/LockingTest.java:157
Method
logWrite
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
Method
main
(String args[])
src/java/simpledb/SimpleDb.java:5
Method
main
(String argv[])
src/java/simpledb/Parser.java:586
Method
main
(String argv[])
src/java/simpledb/LogicalPlan.java:484
Method
markDirty
Marks this page as dirty/not dirty and record that transaction that did the dirtying
src/java/simpledb/BTreePage.java:116
Method
markSlotUsed
Abstraction to fill or clear a slot on this page.
src/java/simpledb/HeapPage.java:299
Method
maxAggregate
Unit test for Aggregate.getNext() using a max aggregate
test/simpledb/AggregateTest.java:160
Method
mergeAvg
Test IntegerAggregator.mergeTupleIntoGroup() and iterator() over an avg
test/simpledb/IntegerAggregatorTest.java:116
Method
mergeCount
Test String.mergeTupleIntoGroup() and iterator() over a COUNT
test/simpledb/StringAggregatorTest.java:44
Method
mergeMax
Test IntegerAggregator.mergeTupleIntoGroup() and iterator() over a max
test/simpledb/IntegerAggregatorTest.java:100
Method
mergeMin
Test IntegerAggregator.mergeTupleIntoGroup() and iterator() over a min
test/simpledb/IntegerAggregatorTest.java:84
Method
mergeSum
Test IntegerAggregator.mergeTupleIntoGroup() and iterator() over a sum
test/simpledb/IntegerAggregatorTest.java:69
Method
mergeTupleIntoGroup
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
Method
minAggregate
Unit test for Aggregate.getNext() using a min aggregate
test/simpledb/AggregateTest.java:171
← previous
next →
701–800 of 1,070, ranked by callers