Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awelm/simpledb
/ types & classes
Types & classes
114 in github.com/awelm/simpledb
⨍
Functions
643
◇
Types & classes
114
Class
AbortEvictionTest
test/simpledb/systemtest/AbortEvictionTest.java:10
Class
AbstractDbFileIterator
Helper for implementing DbFileIterators. Handles hasNext()/next() logic.
src/simpledb/AbstractDbFileIterator.java:6
Class
AbstractDbIterator
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
Class
Aggregate
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
Class
AggregateTest
test/simpledb/AggregateTest.java:13
Class
AggregateTest
test/simpledb/systemtest/AggregateTest.java:11
Interface
Aggregator
The common interface for any class that can compute an aggregate over a list of Tuples.
src/simpledb/Aggregator.java:7
Class
BufferPool
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
Class
Catalog
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
Class
CatalogTest
test/simpledb/CatalogTest.java:17
Class
CostCard
Class returned by {@link JoinOptimizer#computeCostAndCardOfSubplan} specifying the cost and cardinality of the optimal plan represented by plan.
src/simpledb/CostCard.java:7
Class
CreateHeapFile
JUnit fixture that creates a heap file and cleans it up afterward.
test/simpledb/TestUtil.java:374
Class
Database
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
Class
DbException
Generic database exception class
src/simpledb/DbException.java:6
Interface
DbFile
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
Interface
DbFileIterator
DbFileIterator is the iterator interface that all SimpleDB Dbfile should implement.
src/simpledb/DbFileIterator.java:8
Interface
DbIterator
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
Class
DeadlockTest
test/simpledb/DeadlockTest.java:12
Class
Debug
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
Class
Delete
The delete operator. Delete reads tuples from its child operator and removes them from the table they belong to.
src/simpledb/Delete.java:7
Class
DeleteTest
test/simpledb/systemtest/DeleteTest.java:9
Class
DependencyGraph
src/simpledb/DependencyGraph.java:11
Class
EvictionTest
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
Interface
Field
Interface for values of fields in tuples in SimpleDB.
src/simpledb/Field.java:8
Class
Filter
Filter is an operator that implements a relational select.
src/simpledb/Filter.java:7
Class
FilterBase
test/simpledb/systemtest/FilterBase.java:13
Class
FilterTest
test/simpledb/FilterTest.java:13
Class
FilterTest
test/simpledb/systemtest/FilterTest.java:7
Class
HeapFile
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
Class
HeapFileEncoder
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
Class
HeapFileIterator
src/simpledb/HeapFile.java:146
Class
HeapFileReadTest
test/simpledb/HeapFileReadTest.java:14
Class
HeapFileWriteTest
test/simpledb/HeapFileWriteTest.java:10
Class
HeapPage
HeapPage stores pages of HeapFiles and implements the Page interface that is used by BufferPool. @see HeapFile @see BufferPool
src/simpledb/HeapPage.java:13
Class
HeapPageId
Unique identifier for HeapPage objects.
src/simpledb/HeapPageId.java:4
Class
HeapPageIdTest
test/simpledb/HeapPageIdTest.java:13
Class
HeapPageReadTest
test/simpledb/HeapPageReadTest.java:18
Class
HeapPageWriteTest
test/simpledb/HeapPageWriteTest.java:19
Class
Insert
Inserts tuples read from the child operator into the tableid specified in the constructor
src/simpledb/Insert.java:9
Class
InsertTest
We reserve more heavy-duty insertion testing for HeapFile and HeapPage. This suite is superficial.
test/simpledb/InsertTest.java:13
Class
InsertTest
test/simpledb/systemtest/InsertTest.java:10
Class
InstrumentedHeapFile
Counts the number of readPage operations.
test/simpledb/systemtest/ScanTest.java:76
Class
IntAggregator
Knows how to compute some aggregate over a set of IntFields.
src/simpledb/IntAggregator.java:9
Class
IntAggregatorIterator
src/simpledb/IntAggregator.java:95
Class
IntAggregatorTest
test/simpledb/IntAggregatorTest.java:14
Class
IntField
Instance of Field that stores a single integer.
src/simpledb/IntField.java:8
Class
IntHistogram
A class to represent a fixed-width histogram over a single integer-based field.
src/simpledb/IntHistogram.java:7
Class
IntHistogramTest
test/simpledb/IntHistogramTest.java:8
Class
Join
The Join operator implements the relational join operation.
src/simpledb/Join.java:8
Class
JoinOptimizer
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
Class
JoinOptimizerTest
test/simpledb/JoinOptimizerTest.java:17
Class
JoinPredicate
JoinPredicate compares fields of two tuples using a predicate. JoinPredicate is most likely used by the Join operator.
src/simpledb/JoinPredicate.java:7
Class
JoinPredicateTest
test/simpledb/JoinPredicateTest.java:10
Class
JoinTest
test/simpledb/JoinTest.java:13
Class
JoinTest
test/simpledb/systemtest/JoinTest.java:11
Class
Lock
src/simpledb/LockManager.java:10
Class
LockGrabber
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
Class
LockManager
src/simpledb/LockManager.java:36
Class
LockingTest
test/simpledb/LockingTest.java:9
Class
LogFile
<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
Class
LogicalFilterNode
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
Class
LogicalJoinNode
A LogicalJoinNode represens the state needed of a join of two tables in a LogicalQueryPlan
src/simpledb/LogicalJoinNode.java:5
Class
LogicalPlan
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
Class
LogicalScanNode
A LogicalScanNode represents table in the FROM list in a LogicalQueryPlan
src/simpledb/LogicalScanNode.java:5
Class
LogicalSelectListNode
A LogicalSelectListNode represents a clause in the select list in a LogicalQueryPlan
src/simpledb/LogicalSelectListNode.java:6
Class
LogicalSubplanJoinNode
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
Class
MockScan
Mock SeqScan class for unit testing.
test/simpledb/TestUtil.java:247
Class
ModifiableCyclicBarrier
test/simpledb/systemtest/TransactionTest.java:161
Enum
Op
src/simpledb/Aggregator.java:10
Enum
Op
Constants used for return codes in Field.compare
src/simpledb/Predicate.java:11
Class
OrderBy
OrderBy is an operator that implements a relational ORDER BY.
src/simpledb/OrderBy.java:7
Interface
Page
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
Interface
PageId
PageId is an interface to a specific page of a specific table.
src/simpledb/PageId.java:4
Class
Parser
src/simpledb/Parser.java:11
Class
ParsingException
src/simpledb/ParsingException.java:4
Class
Permissions
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
Class
PlanCache
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
Class
Predicate
Predicate compares tuples to a specified Field value.
src/simpledb/Predicate.java:5
Class
PredicateTest
test/simpledb/PredicateTest.java:10
Class
Project
Project is an operator that implements a relational projection.
src/simpledb/Project.java:7
Class
Query
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
Class
QueryTest
test/simpledb/systemtest/QueryTest.java:27
Class
RecordId
A RecordId is a reference to a specific tuple on a specific page of a specific table.
src/simpledb/RecordId.java:7
Class
RecordIdTest
test/simpledb/RecordIdTest.java:12
Class
ScanTest
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
Class
SeqScan
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
Class
SimpleDb
src/simpledb/SimpleDb.java:5
Class
SimpleDbTestBase
Base class for all SimpleDb test classes. @author nizam
test/simpledb/systemtest/SimpleDbTestBase.java:12
Class
SkeletonFile
Stub DbFile class for unit testing.
test/simpledb/TestUtil.java:196
Class
StringAggregator
Knows how to compute some aggregate over a set of StringFields.
src/simpledb/StringAggregator.java:10
Class
StringAggregatorIterator
src/simpledb/StringAggregator.java:50
Class
StringAggregatorTest
test/simpledb/StringAggregatorTest.java:12
Class
StringField
Instance of Field that stores a single String of a fixed length.
src/simpledb/StringField.java:8
Class
StringHistogram
A class to represent a fixed-width histogram over a single String-based field.
src/simpledb/StringHistogram.java:5
Class
SystemTestUtil
test/simpledb/systemtest/SystemTestUtil.java:11
Class
TableStats
TableStats represents statistics (e.g., histograms) about base tables in a query
src/simpledb/TableStats.java:8
Class
TableStatsTest
test/simpledb/TableStatsTest.java:14
Class
TestUtil
test/simpledb/TestUtil.java:8
Class
Transaction
Transaction encapsulates information about the state of a transaction and manages transaction commit / abort.
src/simpledb/Transaction.java:10
Class
TransactionAbortedException
Exception that is thrown when a transaction has aborted.
src/simpledb/TransactionAbortedException.java:6
next →
1–100 of 114, ranked by callers