MCPcopy Create free account

hub / github.com/awelm/simpledb / types & classes

Types & classes114 in github.com/awelm/simpledb

ClassAbortEvictionTest
test/simpledb/systemtest/AbortEvictionTest.java:10
ClassAbstractDbFileIterator
Helper for implementing DbFileIterators. Handles hasNext()/next() logic.
src/simpledb/AbstractDbFileIterator.java:6
ClassAbstractDbIterator
Helper for implementing DbIterators. It handles <code>close</code>, <code>next</code> and <code>hasNext</code>. Subclasses only need to implement <cod
src/simpledb/AbstractDbIterator.java:8
ClassAggregate
The Aggregator operator that computes an aggregate (e.g., sum, avg, max, min). Note that we only support aggregates over a single column, grouped by
src/simpledb/Aggregate.java:10
ClassAggregateTest
test/simpledb/AggregateTest.java:13
ClassAggregateTest
test/simpledb/systemtest/AggregateTest.java:11
InterfaceAggregator
The common interface for any class that can compute an aggregate over a list of Tuples.
src/simpledb/Aggregator.java:7
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/simpledb/BufferPool.java:19
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/simpledb/Catalog.java:17
ClassCatalogTest
test/simpledb/CatalogTest.java:17
ClassCostCard
Class returned by {@link JoinOptimizer#computeCostAndCardOfSubplan} specifying the cost and cardinality of the optimal plan represented by plan.
src/simpledb/CostCard.java:7
ClassCreateHeapFile
JUnit fixture that creates a heap file and cleans it up afterward.
test/simpledb/TestUtil.java:374
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
src/simpledb/Database.java:13
ClassDbException
Generic database exception class
src/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/simpledb/DbFile.java:14
InterfaceDbFileIterator
DbFileIterator is the iterator interface that all SimpleDB Dbfile should implement.
src/simpledb/DbFileIterator.java:8
InterfaceDbIterator
DbIterator is the iterator interface that all SimpleDB operators should implement. If the iterator is not open, none of the methods should work, and s
src/simpledb/DbIterator.java:12
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/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/simpledb/Delete.java:7
ClassDeleteTest
test/simpledb/systemtest/DeleteTest.java:9
ClassDependencyGraph
src/simpledb/DependencyGraph.java:11
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/simpledb/Field.java:8
ClassFilter
Filter is an operator that implements a relational select.
src/simpledb/Filter.java:7
ClassFilterBase
test/simpledb/systemtest/FilterBase.java:13
ClassFilterTest
test/simpledb/FilterTest.java:13
ClassFilterTest
test/simpledb/systemtest/FilterTest.java:7
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 f
src/simpledb/HeapFile.java:16
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/simpledb/HeapFileEncoder.java:14
ClassHeapFileIterator
src/simpledb/HeapFile.java:146
ClassHeapFileReadTest
test/simpledb/HeapFileReadTest.java:14
ClassHeapFileWriteTest
test/simpledb/HeapFileWriteTest.java:10
ClassHeapPage
HeapPage stores pages of HeapFiles and implements the Page interface that is used by BufferPool. @see HeapFile @see BufferPool
src/simpledb/HeapPage.java:13
ClassHeapPageId
Unique identifier for HeapPage objects.
src/simpledb/HeapPageId.java:4
ClassHeapPageIdTest
test/simpledb/HeapPageIdTest.java:13
ClassHeapPageReadTest
test/simpledb/HeapPageReadTest.java:18
ClassHeapPageWriteTest
test/simpledb/HeapPageWriteTest.java:19
ClassInsert
Inserts tuples read from the child operator into the tableid specified in the constructor
src/simpledb/Insert.java:9
ClassInsertTest
We reserve more heavy-duty insertion testing for HeapFile and HeapPage. This suite is superficial.
test/simpledb/InsertTest.java:13
ClassInsertTest
test/simpledb/systemtest/InsertTest.java:10
ClassInstrumentedHeapFile
Counts the number of readPage operations.
test/simpledb/systemtest/ScanTest.java:76
ClassIntAggregator
Knows how to compute some aggregate over a set of IntFields.
src/simpledb/IntAggregator.java:9
ClassIntAggregatorIterator
src/simpledb/IntAggregator.java:95
ClassIntAggregatorTest
test/simpledb/IntAggregatorTest.java:14
ClassIntField
Instance of Field that stores a single integer.
src/simpledb/IntField.java:8
ClassIntHistogram
A class to represent a fixed-width histogram over a single integer-based field.
src/simpledb/IntHistogram.java:7
ClassIntHistogramTest
test/simpledb/IntHistogramTest.java:8
ClassJoin
The Join operator implements the relational join operation.
src/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
src/simpledb/JoinOptimizer.java:12
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/simpledb/JoinPredicate.java:7
ClassJoinPredicateTest
test/simpledb/JoinPredicateTest.java:10
ClassJoinTest
test/simpledb/JoinTest.java:13
ClassJoinTest
test/simpledb/systemtest/JoinTest.java:11
ClassLock
src/simpledb/LockManager.java:10
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:308
ClassLockManager
src/simpledb/LockManager.java:36
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/simpledb/LogFile.java:74
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/simpledb/LogicalFilterNode.java:9
ClassLogicalJoinNode
A LogicalJoinNode represens the state needed of a join of two tables in a LogicalQueryPlan
src/simpledb/LogicalJoinNode.java:5
ClassLogicalPlan
LogicalPlan represents a logical query plan that has been through the parser and is ready to be processed by the optimizer. <p> A LogicalPlan consits
src/simpledb/LogicalPlan.java:29
ClassLogicalScanNode
A LogicalScanNode represents table in the FROM list in a LogicalQueryPlan
src/simpledb/LogicalScanNode.java:5
ClassLogicalSelectListNode
A LogicalSelectListNode represents a clause in the select list in a LogicalQueryPlan
src/simpledb/LogicalSelectListNode.java:6
ClassLogicalSubplanJoinNode
A LogicalSubplanJoinNode represens the state needed of a join of a table to a subplan in a LogicalQueryPlan -- inherits state from {@link LogicalJoinN
src/simpledb/LogicalSubplanJoinNode.java:7
ClassMockScan
Mock SeqScan class for unit testing.
test/simpledb/TestUtil.java:247
ClassModifiableCyclicBarrier
test/simpledb/systemtest/TransactionTest.java:161
EnumOp
src/simpledb/Aggregator.java:10
EnumOp
Constants used for return codes in Field.compare
src/simpledb/Predicate.java:11
ClassOrderBy
OrderBy is an operator that implements a relational ORDER BY.
src/simpledb/OrderBy.java:7
InterfacePage
Page is the interface used to represent pages that are resident in the BufferPool. Typically, DbFiles will read and write pages from disk. <p> Pages
src/simpledb/Page.java:13
InterfacePageId
PageId is an interface to a specific page of a specific table.
src/simpledb/PageId.java:4
ClassParser
src/simpledb/Parser.java:11
ClassParsingException
src/simpledb/ParsingException.java:4
ClassPermissions
Class representing requested permissions to a relation/file. Private constructor with two static objects READ_ONLY and READ_WRITE that represent the t
src/simpledb/Permissions.java:8
ClassPlanCache
A PlanCache is a helper class that can be used to store the best way to order a given set of joins
src/simpledb/PlanCache.java:8
ClassPredicate
Predicate compares tuples to a specified Field value.
src/simpledb/Predicate.java:5
ClassPredicateTest
test/simpledb/PredicateTest.java:10
ClassProject
Project is an operator that implements a relational projection.
src/simpledb/Project.java:7
ClassQuery
Query is a wrapper class to manage the execution of queries. It takes a query plan in the form of a high level DbIterator (built by initiating
src/simpledb/Query.java:14
ClassQueryTest
test/simpledb/systemtest/QueryTest.java:27
ClassRecordId
A RecordId is a reference to a specific tuple on a specific page of a specific table.
src/simpledb/RecordId.java:7
ClassRecordIdTest
test/simpledb/RecordIdTest.java:12
ClassScanTest
Dumps the contents of a table. args[1] is the number of columns. E.g., if it's 5, then ScanTest will end up dumping the contents of f4.0.txt.
test/simpledb/systemtest/ScanTest.java:23
ClassSeqScan
SeqScan is an implementation of a sequential scan access method that reads each tuple of a table in no particular order (e.g., as they are laid out on
src/simpledb/SeqScan.java:9
ClassSimpleDb
src/simpledb/SimpleDb.java:5
ClassSimpleDbTestBase
Base class for all SimpleDb test classes. @author nizam
test/simpledb/systemtest/SimpleDbTestBase.java:12
ClassSkeletonFile
Stub DbFile class for unit testing.
test/simpledb/TestUtil.java:196
ClassStringAggregator
Knows how to compute some aggregate over a set of StringFields.
src/simpledb/StringAggregator.java:10
ClassStringAggregatorIterator
src/simpledb/StringAggregator.java:50
ClassStringAggregatorTest
test/simpledb/StringAggregatorTest.java:12
ClassStringField
Instance of Field that stores a single String of a fixed length.
src/simpledb/StringField.java:8
ClassStringHistogram
A class to represent a fixed-width histogram over a single String-based field.
src/simpledb/StringHistogram.java:5
ClassSystemTestUtil
test/simpledb/systemtest/SystemTestUtil.java:11
ClassTableStats
TableStats represents statistics (e.g., histograms) about base tables in a query
src/simpledb/TableStats.java:8
ClassTableStatsTest
test/simpledb/TableStatsTest.java:14
ClassTestUtil
test/simpledb/TestUtil.java:8
ClassTransaction
Transaction encapsulates information about the state of a transaction and manages transaction commit / abort.
src/simpledb/Transaction.java:10
ClassTransactionAbortedException
Exception that is thrown when a transaction has aborted.
src/simpledb/TransactionAbortedException.java:6
next →1–100 of 114, ranked by callers