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

↓ 2 callersMethodgetJoinField2Name
@return the field name of join field2. Should be quantified by alias or table name.
src/java/simpledb/Join.java:47
↓ 2 callersMethodgetJoinPredicate
()
src/java/simpledb/Join.java:27
↓ 2 callersMethodgetJoinPredicate
()
src/java/simpledb/HashEquiJoin.java:35
↓ 2 callersMethodgetMemoryFootprint
Returns number of bytes of RAM used by JVM after calling System.gc many times. @return amount of RAM (in bytes) used by JVM
test/simpledb/systemtest/SystemTestUtil.java:153
↓ 2 callersMethodgetPageData
Generates a byte array representing the contents of this page. Used to serialize this page to disk. <p> The invariant here is that it should be possib
src/java/simpledb/BTreeHeaderPage.java:134
↓ 2 callersMethodgetPredicate
()
src/java/simpledb/Filter.java:25
↓ 2 callersMethodgetPrevPageId
Get the page id of the previous header page @return the page id of the previous header page
src/java/simpledb/BTreeHeaderPage.java:190
↓ 2 callersMethodgetQuery
Get the query text associated with this plan via {@link #setQuery}.
src/java/simpledb/LogicalPlan.java:65
↓ 2 callersMethodgetTableAliasToIdMapping
()
src/java/simpledb/LogicalPlan.java:79
↓ 2 callersMethodgetTableName
@return return the table name of the table the operator scans. This should be the actual name of the table in the catalog of the database
src/java/simpledb/BTreeScan.java:51
↓ 2 callersMethodgetTableName
@return return the table name of the table the operator scans. This should be the actual name of the table in the catalog of the database
src/java/simpledb/SeqScan.java:39
↓ 2 callersMethodgetTuple
protected method used by the iterator to get the ith tuple out of this page @param i - the index of the tuple @return the ith tuple in the page @throw
src/java/simpledb/BTreeLeafPage.java:500
↓ 2 callersMethodgetTupleDesc
()
test/simpledb/TestUtil.java:273
↓ 2 callersMethodgetTupleDesc
Returns the TupleDesc of this Aggregate. If there is no group by field, this will have one field - the aggregate column. If there is a group by field,
src/java/simpledb/Aggregate.java:117
↓ 2 callersMethodgetTupleDesc
()
src/java/simpledb/HashEquiJoin.java:39
↓ 2 callersMethodgetTypes
@return a Type array of length len populated with Type.INT_TYPE
src/java/simpledb/Utility.java:12
↓ 2 callersMethodgroupField
@return If this aggregate is accompanied by a groupby, return the groupby field index in the <b>INPUT</b> tuples. If not, return {@lin
src/java/simpledb/Aggregate.java:41
↓ 2 callersMethodgroupFieldName
@return If this aggregate is accompanied by a group by, return the name of the groupby field in the <b>OUTPUT</b> tuples. If not, return
src/java/simpledb/Aggregate.java:51
↓ 2 callersMethodhandleMinOccupancyPage
Handle the case when a B+ tree page becomes less than half full due to deletions. If one of its siblings has extra tuples/entries, redistribute those
src/java/simpledb/BTreeFile.java:480
↓ 2 callersMethodhasPkey
Return true if a primary key field is joined by one of the joins in joinlist
src/java/simpledb/JoinOptimizer.java:411
↓ 2 callersMethodindexIterator
Unit test for BTreeFile.indexIterator()
test/simpledb/BTreeFileReadTest.java:136
↓ 2 callersMethodinit
(BTreeFile bf, int[] tupdata, BlockingQueue<ArrayList<Integer>> insertedTuples)
src/java/simpledb/BTreeUtility.java:710
↓ 2 callersMethodinit
(BTreeFile bf, BlockingQueue<ArrayList<Integer>> insertedTuples)
src/java/simpledb/BTreeUtility.java:812
↓ 2 callersMethodinsertRow
(HeapFile f, Transaction t)
test/simpledb/systemtest/EvictionTest.java:43
↓ 2 callersMethodisDirty
Returns the tid of the transaction that last dirtied this page, or null if the page is not dirty
src/java/simpledb/HeapPage.java:274
↓ 2 callersMethodisDirty
()
src/java/simpledb/BTreeRootPtrPage.java:134
↓ 2 callersMethodisDirty
Returns the tid of the transaction that last dirtied this page, or null if the page is not dirty
src/java/simpledb/BTreeHeaderPage.java:260
↓ 2 callersMethodisEnabled
@return true if level is being logged.
src/java/simpledb/Debug.java:41
↓ 2 callersMethoditerator
Create a OpIterator over group aggregate results. @return a OpIterator whose tuples are the pair (groupVal, aggregateVal) if using group, or a sing
src/java/simpledb/StringAggregator.java:39
↓ 2 callersMethodloadMap
()
src/java/simpledb/HashEquiJoin.java:56
↓ 2 callersMethodlogAbort
Write an abort record to the log for the specified tid, force the log to disk, and perform a rollback @param tid The aborting transact
src/java/simpledb/LogFile.java:146
↓ 2 callersMethodmarkDirty
(boolean dirty, TransactionId tid)
src/java/simpledb/BTreeRootPtrPage.java:129
↓ 2 callersMethodmarkDirty
Marks this page as dirty/not dirty and record that transaction that did the dirtying
src/java/simpledb/BTreeHeaderPage.java:252
↓ 2 callersMethodmergeTupleIntoGroup
Merge a new tuple into the aggregate, grouping as indicated in the constructor @param tup the Tuple containing an aggregate field and a group-by field
src/java/simpledb/StringAggregator.java:27
↓ 2 callersMethodmoveEntry
Move an entry from one slot to another slot, and update the corresponding headers
src/java/simpledb/BTreeInternalPage.java:552
↓ 2 callersMethodmoveRecord
Move a record from one slot to another slot, and update the corresponding headers and RecordId
src/java/simpledb/BTreeLeafPage.java:365
↓ 2 callersMethodprocessExpression
(TransactionId tid, ZExpression wx, LogicalPlan lp)
src/java/simpledb/Parser.java:38
↓ 2 callersMethodprocessList
Returns the next tuple generated by the join, or null if there are no more tuples. Logically, this is the next tuple in r1 cross r2 that satisfies the
src/java/simpledb/HashEquiJoin.java:117
↓ 2 callersMethodreadNext
Reads the next tuple from the underlying source. @return the next Tuple in the iterator, null if the iteration is finished.
src/java/simpledb/AbstractDbFileIterator.java:33
↓ 2 callersMethodreadPageData
(RandomAccessFile raf)
src/java/simpledb/LogFile.java:249
↓ 2 callersMethodreleasePage
Releases the lock on a page. Calling this is very risky, and may result in wrong behavior. Think hard about who needs to call this and why, and why th
src/java/simpledb/BufferPool.java:82
↓ 2 callersMethodreset
(int parties)
test/simpledb/systemtest/TransactionTest.java:170
↓ 2 callersMethodrunTransactionForPredicate
(HeapFile table, Predicate predicate)
test/simpledb/systemtest/FilterBase.java:27
↓ 2 callersMethodsetEmptyPage
Mark a page in this BTreeFile as empty. Find the corresponding header page (create it if needed), and mark the corresponding slot in the header page a
src/java/simpledb/BTreeFile.java:973
↓ 2 callersMethodsetKey
Set the key for this entry. Note that updating a BTreeEntry does not actually change the data stored on the page identified by its recordId. After ca
src/java/simpledb/BTreeEntry.java:93
↓ 2 callersMethodsetQuery
Set the text of the query representing this logical plan. Does NOT parse the specified query -- this method is just used so that the object c
src/java/simpledb/LogicalPlan.java:59
↓ 2 callersMethodshutdown
()
src/java/simpledb/Parser.java:601
↓ 2 callersMethodsplitInternalPage
Split an internal page to make room for new entries and recursively split its parent page as needed to accommodate a new entry. The new entry for the
src/java/simpledb/BTreeFile.java:276
↓ 2 callersMethodstartInserter
Helper method to clean up the syntax of starting a BTreeInserter thread. The parameters pass through to the BTreeInserter constructor.
test/simpledb/systemtest/BTreeTest.java:37
↓ 2 callersMethodstealFromLeftInternalPage
Steal entries from the left sibling and copy them to the given page so that both pages are at least half full. Keys can be thought of as rotating thro
src/java/simpledb/BTreeFile.java:656
↓ 2 callersMethodstealFromRightInternalPage
Steal entries from the right sibling and copy them to the given page so that both pages are at least half full. Keys can be thought of as rotating thr
src/java/simpledb/BTreeFile.java:684
↓ 2 callersMethodtestTransactionComplete
Common unit test code for BufferPool.transactionComplete() covering commit and abort. Verify that commit persists changes to disk, and that abort reve
test/simpledb/TransactionTest.java:69
↓ 2 callersMethodtupleToList
(Tuple tuple)
src/java/simpledb/BTreeUtility.java:22
↓ 2 callersMethodupdateEntry
Update the key and/or child pointers of an entry at the location specified by its record id. @param e - the entry with updated key and/or child pointe
src/java/simpledb/BTreeInternalPage.java:404
↓ 2 callersMethodupdateParentPointer
Helper function to update the parent pointer of a node. @param tid - the transaction id @param dirtypages - the list of dirty pages which should be u
src/java/simpledb/BTreeFile.java:354
↓ 2 callersMethodvalidateAfter
Optional hook for validating database state after applyPredicate.
test/simpledb/systemtest/FilterBase.java:22
↓ 2 callersMethodwaitForDeleterThreads
(ArrayList<BTreeDeleter> deleteThreads)
test/simpledb/systemtest/BTreeTest.java:65
↓ 1 callersMethodaddAggregate
Add an aggregate over the field with the specified grouping to the query. SimpleDb only supports a single aggregate expression and GR
src/java/simpledb/LogicalPlan.java:196
↓ 1 callersMethodaddOrderBy
Add an ORDER BY expression in the specified order on the specified field. SimpleDb only supports a single ORDER BY field. @param fiel
src/java/simpledb/LogicalPlan.java:212
↓ 1 callersMethodaggregate
(ArrayList<ArrayList<Integer>> tuples, Aggregator.Op operation, int aggregateColumn, int groupColumn)
test/simpledb/systemtest/AggregateTest.java:51
↓ 1 callersMethodapplyPredicate
Should apply the predicate to table. This will be executed in transaction tid.
test/simpledb/systemtest/FilterBase.java:18
↓ 1 callersMethodavgSelectivity
The average selectivity of the field under op. @param field the index of the field @param op the operator in the predicate The semantic
src/java/simpledb/TableStats.java:131
↓ 1 callersMethodbuildTree
(int queryPlanDepth, int currentDepth, OpIterator queryPlan, int curre
src/java/simpledb/QueryPlanVisualizer.java:59
↓ 1 callersMethodcalculateQueryPlanTreeDepth
(OpIterator root)
src/java/simpledb/QueryPlanVisualizer.java:20
↓ 1 callersMethodcategToString
(int categ)
src/java/simpledb/BTreePageId.java:17
↓ 1 callersMethodcheckRep
(Field lowerBound, Field upperBound, boolean checkOccupancy, int depth)
src/java/simpledb/BTreeInternalPage.java:24
↓ 1 callersMethodcheckRep
(int fieldid, Field lowerBound, Field upperBound, boolean checkoccupancy, int depth)
src/java/simpledb/BTreeLeafPage.java:22
↓ 1 callersMethodcheckSubTree
(BTreeFile bt, TransactionId tid, HashMap<PageId, Page> dirtypages, BTr
src/java/simpledb/BTreeChecker.java:74
↓ 1 callersMethodcleanUpEntries
Write out any remaining entries and update the parent pointers. @param entries - the list of remaining entries @param bf - the BTreeFile @param nentr
src/java/simpledb/BTreeFileEncoder.java:403
↓ 1 callersMethodclose
()
src/java/simpledb/Join.java:66
↓ 1 callersMethodclose
()
src/java/simpledb/TupleIterator.java:57
↓ 1 callersMethodclose
close the iterator
src/java/simpledb/BTreeFile.java:1147
↓ 1 callersMethodclose
close the iterator
src/java/simpledb/BTreeFile.java:1252
↓ 1 callersMethodclose
()
src/java/simpledb/Delete.java:35
↓ 1 callersMethodcompareDbIterators
Check to see if the DbIterators have the same number of tuples and each tuple pair in parallel iteration satisfies compareTuples . If not, throw an
test/simpledb/TestUtil.java:109
↓ 1 callersMethodcomputeAggregate
(ArrayList<Integer> values, Aggregator.Op operation)
test/simpledb/systemtest/AggregateTest.java:23
↓ 1 callersMethodcomputeStatistics
()
src/java/simpledb/TableStats.java:50
↓ 1 callersMethodcreateEmptyPageData
Static method to generate a byte array corresponding to an empty BTreeHeaderPage. Used to add new, empty pages to the file. Passing the results of thi
src/java/simpledb/BTreeHeaderPage.java:181
↓ 1 callersMethoddiscardPage
Remove the specific page id from the buffer pool. Needed by the recovery manager to ensure that the buffer pool doesn't keep a rolled
src/java/simpledb/BufferPool.java:176
↓ 1 callersMethodexecute
()
src/java/simpledb/Query.java:95
↓ 1 callersMethodflushPages
Write all pages of the specified transaction to disk.
src/java/simpledb/BufferPool.java:192
↓ 1 callersMethodgenerateRandomEntries
Generate a random set of entries for testing @param numKeys - number of keys @param minKey - the minimum key value @param maxKey - the maximum key val
src/java/simpledb/BTreeUtility.java:215
↓ 1 callersMethodgetAggOp
Convert the aggregate operator name s into an Aggregator.op operation. @throws ParsingException if s is not a valid operator name
src/java/simpledb/LogicalPlan.java:264
↓ 1 callersMethodgetBeforeImage
Provide a representation of this page before any modifications were made to it. Used by recovery.
src/java/simpledb/Page.java:52
↓ 1 callersMethodgetDatabaseFile
Unit test for Catalog.getDatabaseFile()
test/simpledb/CatalogTest.java:68
↓ 1 callersMethodgetField
@return the field number
src/java/simpledb/Predicate.java:64
↓ 1 callersMethodgetFile
Returns the File backing this BTreeFile on disk.
src/java/simpledb/BTreeFile.java:46
↓ 1 callersMethodgetHeaderSize
Computes the number of bytes in the header of a page in a HeapFile with each tuple occupying tupleSize bytes @return the number of bytes in the header
src/java/simpledb/HeapPage.java:78
↓ 1 callersMethodgetHeaderSize
Computes the number of bytes in the header of a B+ internal page with each entry occupying entrySize bytes @return the number of bytes in the header
src/java/simpledb/BTreeInternalPage.java:131
↓ 1 callersMethodgetHeaderSize
Computes the number of bytes in the header of a page in a BTreeFile with each tuple occupying tupleSize bytes
src/java/simpledb/BTreeLeafPage.java:123
↓ 1 callersMethodgetNumTuples
Retrieve the number of tuples on this page. @return the number of tuples on this page
src/java/simpledb/HeapPage.java:68
↓ 1 callersMethodgetOp
@return the operator
src/java/simpledb/Predicate.java:73
↓ 1 callersMethodgetOrder
Find the best join order in the cache for the specified plan @param s the set of joins to look up the best order for @return the best
src/java/simpledb/PlanCache.java:31
↓ 1 callersMethodgetOrderByField
()
src/java/simpledb/OrderBy.java:42
↓ 1 callersMethodgetOutputTupleDesc
()
src/java/simpledb/Query.java:60
↓ 1 callersMethodgetPageData
Generates a byte array representing the contents of this page. Used to serialize this page to disk. <p> The invariant here is that it should be possib
src/java/simpledb/HeapPage.java:163
↓ 1 callersMethodgetPageData
Generates a byte array representing the contents of this page. Used to serialize this page to disk. <p> The invariant here is that it should be possib
src/java/simpledb/BTreeInternalPage.java:234
↓ 1 callersMethodgetPageData
Generates a byte array representing the contents of this page. Used to serialize this page to disk. <p> The invariant here is that it should be possib
src/java/simpledb/BTreeLeafPage.java:201
↓ 1 callersMethodgetPageData
Generates a byte array representing the contents of this root pointer page. Used to serialize this root pointer page to disk. The invariant here is th
src/java/simpledb/BTreeRootPtrPage.java:80
↓ 1 callersMethodgetPageNumber
@return the page number in the table getTableId() associated with this PageId
src/java/simpledb/HeapPageId.java:27
← previousnext →301–400 of 1,070, ranked by callers