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
HeapFileDuplicates
(File f, TupleDesc td, int duplicates)
test/simpledb/BufferPoolWriteTest.java:25
Method
HeapPage
Create a HeapPage from a set of bytes of data read from disk. The format of a HeapPage is a set of header bytes indicating the slots of the page that
src/java/simpledb/HeapPage.java:41
Method
HeapPageId
Constructor. Create a page id structure for a specific page of a specific table. @param tableId The table that is being referenced @param pgNo The pa
src/java/simpledb/HeapPageId.java:13
Method
IndexPredicate
Constructor. @param fvalue The value that the predicate compares against. @param op The operation to apply (as defined in Predicate.Op); either Pre
src/java/simpledb/IndexPredicate.java:25
Method
Insert
Constructor. @param t The transaction running the insert. @param child The child operator from which to read tuples to be inser
src/java/simpledb/Insert.java:24
Method
InstrumentedBTreeFile
(File f, int keyField, TupleDesc td)
test/simpledb/systemtest/BTreeScanTest.java:69
Method
InstrumentedHeapFile
(File f, TupleDesc td)
test/simpledb/systemtest/ScanTest.java:76
Method
IntField
Constructor. @param i The value of this field.
src/java/simpledb/IntField.java:23
Method
IntHistogram
Create a new IntHistogram. This IntHistogram should maintain a histogram of integer values that it receives. It should split the histogram into "buck
src/java/simpledb/IntHistogram.java:23
Method
IntegerAggregator
Aggregate constructor @param gbfield the 0-based index of the group-by field in the tuple, or NO_GROUPING if there is no groupi
src/java/simpledb/IntegerAggregator.java:25
Method
Join
Constructor. Accepts two children to join and the predicate to join them on @param p The predicate to use to join the children @param chil
src/java/simpledb/Join.java:23
Method
JoinOptimizer
Constructor @param p the logical plan being optimized @param joins the list of joins being performed
src/java/simpledb/JoinOptimizer.java:25
Method
JoinPredicate
Constructor -- create a new predicate over two fields of two tuples. @param field1 The field index into the first tuple in the predicate @
src/java/simpledb/JoinPredicate.java:27
Method
LockGrabber
@param tid the transaction on whose behalf we want to acquire the lock @param pid the page over which we want to acquire the lock @param perm the desi
test/simpledb/TestUtil.java:324
Method
LogFile
Constructor. Initialize and back the log file with the specified file. We're not sure yet whether the caller is creating a brand new D
src/java/simpledb/LogFile.java:107
Method
LogicalFilterNode
(String table, String field, Predicate.Op pred, String constant)
src/java/simpledb/LogicalFilterNode.java:24
Method
LogicalJoinNode
()
src/java/simpledb/LogicalJoinNode.java:26
Method
LogicalPlan
Constructor -- generate an empty logical plan
src/java/simpledb/LogicalPlan.java:42
Method
LogicalScanNode
(int table, String tableAlias)
src/java/simpledb/LogicalScanNode.java:14
Method
LogicalSelectListNode
(String aggOp, String fname)
src/java/simpledb/LogicalSelectListNode.java:15
Method
LogicalSubplanJoinNode
(String table1, String joinField1, OpIterator sp, Predicate.Op pred)
src/java/simpledb/LogicalSubplanJoinNode.java:12
Method
MockScan
Creates a fake SeqScan that returns tuples sequentially with 'width' fields, each with the same value, that increases from low (inclusive) and high (e
test/simpledb/TestUtil.java:255
Method
ModifiableCyclicBarrier
(int parties)
test/simpledb/systemtest/TransactionTest.java:166
Method
OrderBy
Creates a new OrderBy node over the tuples from the iterator. @param orderbyField the field to which the sort is applied. @param asc
src/java/simpledb/OrderBy.java:29
Method
ParsingException
(String string)
src/java/simpledb/ParsingException.java:5
Method
PatchTest
()
test/simpledb/systemtest/LogTest.java:129
Method
Permissions
(int permLevel)
src/java/simpledb/Permissions.java:11
Method
Predicate
Constructor. @param field field number of passed in tuples to compare against. @param op operation to use for comparison @param
src/java/simpledb/Predicate.java:57
Method
Project
Constructor accepts a child operator to read tuples to apply projection to and a list of fields in output tuple @param fieldList The ids o
src/java/simpledb/Project.java:26
Method
Query
(TransactionId t)
src/java/simpledb/Query.java:44
Method
RecordId
Creates a new RecordId referring to the specified PageId and tuple number. @param pid the pageid of the page on which the tuple resides @p
src/java/simpledb/RecordId.java:22
Method
SeqScan
Creates a sequential scan over the specified table as a part of the specified transaction. @param tid The transaction this scan is running
src/java/simpledb/SeqScan.java:30
Method
SkeletonFile
(int tableid, TupleDesc td)
test/simpledb/TestUtil.java:200
Method
StringAggregator
Aggregate constructor @param gbfield the 0-based index of the group-by field in the tuple, or NO_GROUPING if there is no grouping @param gbfieldtype t
src/java/simpledb/StringAggregator.java:19
Method
StringField
Constructor. @param s The value of this field. @param maxSize The maximum size of this string
src/java/simpledb/StringField.java:27
Method
StringHistogram
Create a new StringHistogram with a specified number of buckets. <p> Our implementation is written in terms of an IntHistogram by converting each Stri
src/java/simpledb/StringHistogram.java:19
Method
SubTreeDescriptor
(SubTreeDescriptor leftChild, SubTreeDescriptor rightChild)
src/java/simpledb/QueryPlanVisualizer.java:51
Method
SubtreeSummary
()
src/java/simpledb/BTreeChecker.java:22
Method
TDItem
(Type t, String n)
src/java/simpledb/TupleDesc.java:28
Method
TableStats
Create a new TableStats object, that keeps track of statistics on each column of a table @param tableid The table over which to compute st
src/java/simpledb/TableStats.java:79
Method
TestAbort
()
test/simpledb/systemtest/LogTest.java:193
Method
TestAbortCommitInterleaved
()
test/simpledb/systemtest/LogTest.java:213
Method
TestAbortCrash
()
test/simpledb/systemtest/LogTest.java:246
Method
TestCommitAbortCommitCrash
()
test/simpledb/systemtest/LogTest.java:275
Method
TestCommitCrash
()
test/simpledb/systemtest/LogTest.java:174
Method
TestFlushAll
()
test/simpledb/systemtest/LogTest.java:155
Method
TestOpenCommitCheckpointOpenCrash
()
test/simpledb/systemtest/LogTest.java:382
Method
TestOpenCommitOpenCrash
()
test/simpledb/systemtest/LogTest.java:341
Method
TestOpenCrash
()
test/simpledb/systemtest/LogTest.java:315
Method
Transaction
()
src/java/simpledb/Transaction.java:14
Method
TransactionAbortedException
()
src/java/simpledb/TransactionAbortedException.java:9
Method
TransactionId
()
src/java/simpledb/TransactionId.java:16
Method
Tuple
Create a new tuple with the specified schema (type). @param td the schema of this tuple. It must be a valid TupleDesc instance
src/java/simpledb/Tuple.java:23
Method
TupleArrayIterator
(ArrayList<Tuple> tups)
src/java/simpledb/Parser.java:713
Method
TupleComparator
(int keyField)
test/simpledb/systemtest/BTreeScanTest.java:51
Method
TupleComparator
(int field, boolean asc)
src/java/simpledb/OrderBy.java:107
Method
TupleComparator
Construct a TupleComparator @param keyField - the index of the field the tuples are keyed on
src/java/simpledb/BTreeFileEncoder.java:121
Method
TupleDesc
Create a new TupleDesc with typeAr.length fields with fields of the specified types, with associated named fields. @param typeAr array spe
src/java/simpledb/TupleDesc.java:61
Method
TupleIterator
Constructs an iterator from the specified Iterable, and the specified descriptor. @param tuples The set of tuples to iterate over
src/java/simpledb/TupleIterator.java:24
Method
UpdateLatch
(ModifiableCyclicBarrier latch, AtomicInteger nextParticipants)
test/simpledb/systemtest/TransactionTest.java:194
Method
XactionTester
(int tableId, ModifiableCyclicBarrier latch)
test/simpledb/systemtest/TransactionTest.java:79
Method
abortTransaction
Unit test for BufferPool.transactionComplete() assuming abort. Verify that a tuple inserted during a committed transaction is durable
test/simpledb/TransactionTest.java:111
Method
acquireReadLocksOnSamePage
Unit test for BufferPool.getPage() assuming locking. Acquires two read locks on the same page.
test/simpledb/LockingTest.java:103
Method
acquireReadLocksOnTwoPages
Unit test for BufferPool.getPage() assuming locking. Acquires read locks on different pages.
test/simpledb/LockingTest.java:148
Method
acquireReadWriteLocksOnSamePage
Unit test for BufferPool.getPage() assuming locking. Acquires a read lock and a write lock on the same page, in that order.
test/simpledb/LockingTest.java:112
Method
acquireReadWriteLocksOnTwoPages
Unit test for BufferPool.getPage() assuming locking. Acquires a read lock and a write lock on different pages.
test/simpledb/LockingTest.java:130
Method
acquireThenRelease
Unit test for BufferPool.getPage() and BufferPool.releasePage() assuming locking. Acquires read locks on different pages.
test/simpledb/LockingTest.java:179
Method
acquireWriteAndReadLocks
Unit test for BufferPool.getPage() assuming locking. A single transaction should be able to acquire a read lock after it already has a write lock.
test/simpledb/LockingTest.java:169
Method
acquireWriteLocksOnTwoPages
Unit test for BufferPool.getPage() assuming locking. Acquires write locks on different pages.
test/simpledb/LockingTest.java:139
Method
acquireWriteReadLocksOnSamePage
Unit test for BufferPool.getPage() assuming locking. Acquires a write lock and a read lock on the same page, in that order.
test/simpledb/LockingTest.java:121
Method
addDuplicateTuples
()
test/simpledb/systemtest/BTreeFileInsertTest.java:77
Method
addEntry
Unit test for BTreeInternalPage.addEntry()
test/simpledb/BTreeInternalPageTest.java:210
Method
addPlan
Add a new cost, cardinality and ordering for a particular join set. Does not verify that the new cost is less than any previously added cost
src/java/simpledb/PlanCache.java:21
Method
addTable
Set up initial resources for each unit test.
test/simpledb/BTreeRootPtrPageTest.java:37
Method
addTable
Set up initial resources for each unit test.
test/simpledb/BTreeHeaderPageTest.java:26
Method
addTable
Set up initial resources for each unit test.
test/simpledb/HeapPageWriteTest.java:26
Method
addTable
Set up initial resources for each unit test.
test/simpledb/BTreeInternalPageTest.java:72
Method
addTable
Set up initial resources for each unit test.
test/simpledb/BTreeLeafPageTest.java:70
Method
addTables
()
test/simpledb/CatalogTest.java:25
Method
addTuple
Unit test for HeapPage.addTuple()
test/simpledb/HeapPageWriteTest.java:50
Method
addTuple
Unit test for HeapFile.addTuple()
test/simpledb/HeapFileWriteTest.java:28
Method
addTuple
Unit test for BTreeLeafPage.addTuple()
test/simpledb/BTreeLeafPageTest.java:228
Method
addTuple
()
test/simpledb/systemtest/BTreeFileInsertTest.java:37
Method
addValue
Add a new value to thte histogram
src/java/simpledb/StringHistogram.java:63
Method
aggregateField
@return the aggregate field
src/java/simpledb/Aggregate.java:59
Method
applyPredicate
(HeapFile table, TransactionId tid, Predicate predicate)
test/simpledb/systemtest/FilterTest.java:8
Method
applyPredicate
(HeapFile table, TransactionId tid, Predicate predicate)
test/simpledb/systemtest/DeleteTest.java:12
Method
attemptTransactionTwice
Unit test for BufferPool.transactionComplete(). Try to acquire locks that would conflict if old locks aren't released during transactionComplete().
test/simpledb/TransactionTest.java:55
Method
avgAggregate
Unit test for Aggregate.getNext() using an avg aggregate
test/simpledb/AggregateTest.java:149
Method
avgSelectivity
@return the average selectivity of this histogram. This is not an indispensable method to implement the basic join optimization. It m
src/java/simpledb/StringHistogram.java:89
Method
avgSelectivity
@return the average selectivity of this histogram. This is not an indispensable method to implement the basic join optimization. It may b
src/java/simpledb/IntHistogram.java:59
Method
bigOrderJoinsTest
Test a much-larger join ordering, to confirm that it executes in a reasonable amount of time
test/simpledb/JoinOptimizerTest.java:383
Method
bytesPerPage
()
test/simpledb/TestUtil.java:227
Method
close
()
test/simpledb/TestUtil.java:266
Method
close
()
src/java/simpledb/Project.java:54
Method
close
()
src/java/simpledb/Aggregate.java:122
Method
close
If subclasses override this, they should call super.close().
src/java/simpledb/AbstractDbFileIterator.java:26
Method
close
()
src/java/simpledb/OrderBy.java:67
Method
close
()
src/java/simpledb/HashEquiJoin.java:82
Method
close
Closes the iterator.
src/java/simpledb/Parser.java:758
← previous
next →
501–600 of 1,070, ranked by callers