MCPcopy Create free account

hub / github.com/MIT-DB-Class/simple-db-hw / types & classes

Types & classes161 in github.com/MIT-DB-Class/simple-db-hw

ClassAbortEvictionTest
test/simpledb/systemtest/AbortEvictionTest.java:10
ClassAbstractDbFileIterator
Helper for implementing DbFileIterators. Handles hasNext()/next() logic.
src/java/simpledb/AbstractDbFileIterator.java:6
ClassAggregate
The Aggregation operator that computes an aggregate (e.g., sum, avg, max, min). Note that we only support aggregates over a single column, grouped by
src/java/simpledb/Aggregate.java:10
ClassAggregateTest
test/simpledb/AggregateTest.java:13
ClassAggregateTest
test/simpledb/systemtest/AggregateTest.java:12
InterfaceAggregator
The common interface for any class that can compute an aggregate over a list of Tuples.
src/java/simpledb/Aggregator.java:9
ClassBTreeChecker
Created by orm on 10/7/15.
src/java/simpledb/BTreeChecker.java:10
ClassBTreeDeadlockTest
test/simpledb/BTreeDeadlockTest.java:12
ClassBTreeDeleter
Helper class that attempts to delete tuple(s) in a new thread @return a handle to the Thread that will attempt deletion after it has been started
src/java/simpledb/BTreeUtility.java:752
ClassBTreeEntry
Each instance of BTreeEntry stores one key and two child page ids. It is used by BTreeInternalPage as an abstraction to iterate through the entries st
src/java/simpledb/BTreeEntry.java:20
ClassBTreeFile
BTreeFile is an implementation of a DbFile that stores a B+ tree. Specifically, it stores a pointer to a root page, a set of internal pages, and a set
src/java/simpledb/BTreeFile.java:21
ClassBTreeFileDeleteTest
test/simpledb/BTreeFileDeleteTest.java:16
ClassBTreeFileDeleteTest
test/simpledb/systemtest/BTreeFileDeleteTest.java:16
ClassBTreeFileEncoder
BTreeFileEncoder reads a comma delimited text file and converts it to pages of binary data in the appropriate format for simpledb B+ tree pages.
src/java/simpledb/BTreeFileEncoder.java:14
ClassBTreeFileInsertTest
test/simpledb/BTreeFileInsertTest.java:16
ClassBTreeFileInsertTest
test/simpledb/systemtest/BTreeFileInsertTest.java:17
ClassBTreeFileIterator
Helper class that implements the Java Iterator for tuples on a BTreeFile
src/java/simpledb/BTreeFile.java:1077
ClassBTreeFileReadTest
test/simpledb/BTreeFileReadTest.java:15
ClassBTreeHeaderPage
Each instance of BTreeHeaderPage stores data for one page of a BTreeFile and implements the Page interface that is used by BufferPool. @see BTreeFile
src/java/simpledb/BTreeHeaderPage.java:13
ClassBTreeHeaderPageTest
test/simpledb/BTreeHeaderPageTest.java:15
ClassBTreeInserter
Helper class that attempts to insert a tuple in a new thread @return a handle to the Thread that will attempt insertion after it has been started
src/java/simpledb/BTreeUtility.java:664
ClassBTreeInternalPage
Each instance of BTreeInternalPage stores data for one page of a BTreeFile and implements the Page interface that is used by BufferPool. @see BTreeFi
src/java/simpledb/BTreeInternalPage.java:16
ClassBTreeInternalPageIterator
Helper class that implements the Java Iterator for entries on a BTreeInternalPage.
src/java/simpledb/BTreeInternalPage.java:675
ClassBTreeInternalPageReverseIterator
Helper class that implements the Java Iterator for entries on a BTreeInternalPage in reverse.
src/java/simpledb/BTreeInternalPage.java:736
ClassBTreeInternalPageTest
test/simpledb/BTreeInternalPageTest.java:21
ClassBTreeLeafPage
Each instance of BTreeLeafPage stores data for one page of a BTreeFile and implements the Page interface that is used by BufferPool. @see BTreeFile @
src/java/simpledb/BTreeLeafPage.java:14
ClassBTreeLeafPageIterator
Helper class that implements the Java Iterator for tuples on a BTreeLeafPage.
src/java/simpledb/BTreeLeafPage.java:523
ClassBTreeLeafPageReverseIterator
Helper class that implements the Java Iterator for tuples on a BTreeLeafPage in reverse.
src/java/simpledb/BTreeLeafPage.java:571
ClassBTreeLeafPageTest
test/simpledb/BTreeLeafPageTest.java:20
ClassBTreeNextKeyLockingTest
test/simpledb/BTreeNextKeyLockingTest.java:16
ClassBTreePage
Each instance of BTreeInternalPage stores data for one page of a BTreeFile and implements the Page interface that is used by BufferPool. @see BTreeFi
src/java/simpledb/BTreePage.java:13
ClassBTreePageId
Unique identifier for BTreeInternalPage, BTreeLeafPage, BTreeHeaderPage and BTreeRootPtrPage objects.
src/java/simpledb/BTreePageId.java:6
ClassBTreePageIdTest
test/simpledb/BTreePageIdTest.java:13
ClassBTreeReader
Helper class that searches for tuple(s) in a new thread @return a handle to the Thread that will attempt to search for tuple(s) after it has been s
src/java/simpledb/BTreeUtility.java:577
ClassBTreeRootPtrPage
BTreeRootPtrPage stores the pointer to the root node used in the B+ tree and implements Page Interface that is used by BufferPool @see BufferPool
src/java/simpledb/BTreeRootPtrPage.java:11
ClassBTreeRootPtrPageTest
test/simpledb/BTreeRootPtrPageTest.java:16
ClassBTreeScan
BTreeScan is an operator which reads tuples in sorted order according to a predicate
src/java/simpledb/BTreeScan.java:9
ClassBTreeScanTest
Dumps the contents of a table. args[1] is the number of columns. E.g., if it's 5, then BTreeScanTest will end up dumping the contents of f4.0.txt.
test/simpledb/systemtest/BTreeScanTest.java:27
ClassBTreeSearchIterator
Helper class that implements the DbFileIterator for search tuples on a B+ Tree File
src/java/simpledb/BTreeFile.java:1158
ClassBTreeTest
System test for the BTree
test/simpledb/systemtest/BTreeTest.java:28
ClassBTreeUtility
Helper methods used for testing and implementing random features.
src/java/simpledb/BTreeUtility.java:18
ClassBTreeWriter
Helper class that attempts to insert a tuple in a new thread @return a handle to the Thread that will attempt insertion after it has been started
src/java/simpledb/BTreeUtility.java:489
ClassBufferPool
BufferPool manages the reading and writing of pages into memory from disk. Access methods call into it to retrieve pages, and it fetches pages from th
src/java/simpledb/BufferPool.java:18
ClassBufferPoolWriteTest
test/simpledb/BufferPoolWriteTest.java:17
ClassCatalog
The Catalog keeps track of all available tables in the database and their associated schemas. For now, this is a stub catalog that must be populated w
src/java/simpledb/Catalog.java:19
ClassCatalogTest
test/simpledb/CatalogTest.java:18
ClassCostCard
Class returned by {@link JoinOptimizer#computeCostAndCardOfSubplan} specifying the cost and cardinality of the optimal plan represented by plan.
src/java/simpledb/CostCard.java:7
ClassCreateHeapFile
JUnit fixture that creates a heap file and cleans it up afterward.
test/simpledb/TestUtil.java:375
ClassDatabase
Database is a class that initializes several static variables used by the database system (the catalog, the buffer pool, and the log files, in particu
src/java/simpledb/Database.java:16
ClassDbException
Generic database exception class
src/java/simpledb/DbException.java:6
InterfaceDbFile
The interface for database files on disk. Each table is represented by a single DbFile. DbFiles can fetch pages and iterate through tuples. Each file
src/java/simpledb/DbFile.java:14
InterfaceDbFileIterator
DbFileIterator is the iterator interface that all SimpleDB Dbfile should implement.
src/java/simpledb/DbFileIterator.java:8
ClassDeadlockException
Exception that is thrown when a deadlock occurs.
src/java/simpledb/DeadlockException.java:6
ClassDeadlockTest
test/simpledb/DeadlockTest.java:12
ClassDebug
Debug is a utility class that wraps println statements and allows more or less command line output to be turned on. <p> Change the value of the DEBUG_
src/java/simpledb/Debug.java:15
ClassDelete
The delete operator. Delete reads tuples from its child operator and removes them from the table they belong to.
src/java/simpledb/Delete.java:9
ClassDeleteTest
test/simpledb/systemtest/DeleteTest.java:9
ClassEntryComparator
Comparator to sort BTreeEntry objects by key
src/java/simpledb/BTreeFileEncoder.java:575
ClassEvictionTest
Creates a heap file with 1024 500 tuples with two integer fields each. Clears the buffer pool, and performs a sequential scan through all of the page
test/simpledb/systemtest/EvictionTest.java:19
InterfaceField
Interface for values of fields in tuples in SimpleDB.
src/java/simpledb/Field.java:8
ClassFilter
Filter is an operator that implements a relational select.
src/java/simpledb/Filter.java:8
ClassFilterBase
test/simpledb/systemtest/FilterBase.java:13
ClassFilterTest
test/simpledb/FilterTest.java:13
ClassFilterTest
test/simpledb/systemtest/FilterTest.java:7
ClassHashEquiJoin
The Join operator implements the relational join operation.
src/java/simpledb/HashEquiJoin.java:8
ClassHeapFile
HeapFile is an implementation of a DbFile that stores a collection of tuples in no particular order. Tuples are stored on pages, each of which is a fi
src/java/simpledb/HeapFile.java:16
ClassHeapFileDuplicates
test/simpledb/BufferPoolWriteTest.java:21
ClassHeapFileEncoder
HeapFileEncoder reads a comma delimited text file or accepts an array of tuples and converts it to pages of binary data in the appropriate format for
src/java/simpledb/HeapFileEncoder.java:14
ClassHeapFileReadTest
test/simpledb/HeapFileReadTest.java:14
ClassHeapFileWriteTest
test/simpledb/HeapFileWriteTest.java:10
ClassHeapPage
Each instance of HeapPage stores data for one page of HeapFiles and implements the Page interface that is used by BufferPool. @see HeapFile @see Buff
src/java/simpledb/HeapPage.java:14
ClassHeapPageId
Unique identifier for HeapPage objects.
src/java/simpledb/HeapPageId.java:4
ClassHeapPageIdTest
test/simpledb/HeapPageIdTest.java:13
ClassHeapPageReadTest
test/simpledb/HeapPageReadTest.java:18
ClassHeapPageWriteTest
test/simpledb/HeapPageWriteTest.java:19
InterfaceIndexOpIterator
IndexDBIterator is the interface that index access methods implement in SimpleDb.
src/java/simpledb/IndexOpIterator.java:7
ClassIndexPredicate
IndexPredicate compares a field which has index on it against a given value @see IndexOpIterator
src/java/simpledb/IndexPredicate.java:9
ClassInsert
Inserts tuples read from the child operator into the tableId specified in the constructor
src/java/simpledb/Insert.java:7
ClassInsertTest
We reserve more heavy-duty insertion testing for HeapFile and HeapPage. This suite is superficial.
test/simpledb/InsertTest.java:14
ClassInsertTest
test/simpledb/systemtest/InsertTest.java:10
ClassInstrumentedBTreeFile
Counts the number of readPage operations.
test/simpledb/systemtest/BTreeScanTest.java:68
ClassInstrumentedHeapFile
Counts the number of readPage operations.
test/simpledb/systemtest/ScanTest.java:75
ClassIntField
Instance of Field that stores a single integer.
src/java/simpledb/IntField.java:8
ClassIntHistogram
A class to represent a fixed-width histogram over a single integer-based field.
src/java/simpledb/IntHistogram.java:5
ClassIntHistogramTest
test/simpledb/IntHistogramTest.java:8
ClassIntegerAggregator
Knows how to compute some aggregate over a set of IntFields.
src/java/simpledb/IntegerAggregator.java:6
ClassIntegerAggregatorTest
test/simpledb/IntegerAggregatorTest.java:14
ClassJoin
The Join operator implements the relational join operation.
src/java/simpledb/Join.java:8
ClassJoinOptimizer
The JoinOptimizer class is responsible for ordering a series of joins optimally, and for selecting the best instantiation of a join for a given logica
src/java/simpledb/JoinOptimizer.java:13
ClassJoinOptimizerTest
test/simpledb/JoinOptimizerTest.java:17
ClassJoinPredicate
JoinPredicate compares fields of two tuples using a predicate. JoinPredicate is most likely used by the Join operator.
src/java/simpledb/JoinPredicate.java:9
ClassJoinPredicateTest
test/simpledb/JoinPredicateTest.java:10
ClassJoinTest
test/simpledb/JoinTest.java:13
ClassJoinTest
test/simpledb/systemtest/JoinTest.java:11
ClassLockGrabber
Helper class that attempts to acquire a lock on a given page in a new thread. @return a handle to the Thread that will attempt lock acquisition after
test/simpledb/TestUtil.java:309
ClassLockingTest
test/simpledb/LockingTest.java:9
ClassLogFile
<p> The format of the log file is as follows: <ul> <li> The first long integer of the file represents the offset of the last written checkpoint, or
src/java/simpledb/LogFile.java:74
ClassLogTest
Test logging, aborts, and recovery.
test/simpledb/systemtest/LogTest.java:15
ClassLogicalFilterNode
A LogicalFilterNode represents the parameters of a filter in the WHERE clause of a query. <p> Filter is of the form t.f p c <p> Where
src/java/simpledb/LogicalFilterNode.java:9
ClassLogicalJoinNode
A LogicalJoinNode represens the state needed of a join of two tables in a LogicalQueryPlan
src/java/simpledb/LogicalJoinNode.java:5
next →1–100 of 161, ranked by callers