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

MethodHeapFileDuplicates
(File f, TupleDesc td, int duplicates)
test/simpledb/BufferPoolWriteTest.java:25
MethodHeapPage
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
MethodHeapPageId
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
MethodIndexPredicate
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
MethodInsert
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
MethodInstrumentedBTreeFile
(File f, int keyField, TupleDesc td)
test/simpledb/systemtest/BTreeScanTest.java:69
MethodInstrumentedHeapFile
(File f, TupleDesc td)
test/simpledb/systemtest/ScanTest.java:76
MethodIntField
Constructor. @param i The value of this field.
src/java/simpledb/IntField.java:23
MethodIntHistogram
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
MethodIntegerAggregator
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
MethodJoin
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
MethodJoinOptimizer
Constructor @param p the logical plan being optimized @param joins the list of joins being performed
src/java/simpledb/JoinOptimizer.java:25
MethodJoinPredicate
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
MethodLockGrabber
@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
MethodLogFile
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
MethodLogicalFilterNode
(String table, String field, Predicate.Op pred, String constant)
src/java/simpledb/LogicalFilterNode.java:24
MethodLogicalJoinNode
()
src/java/simpledb/LogicalJoinNode.java:26
MethodLogicalPlan
Constructor -- generate an empty logical plan
src/java/simpledb/LogicalPlan.java:42
MethodLogicalScanNode
(int table, String tableAlias)
src/java/simpledb/LogicalScanNode.java:14
MethodLogicalSelectListNode
(String aggOp, String fname)
src/java/simpledb/LogicalSelectListNode.java:15
MethodLogicalSubplanJoinNode
(String table1, String joinField1, OpIterator sp, Predicate.Op pred)
src/java/simpledb/LogicalSubplanJoinNode.java:12
MethodMockScan
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
MethodModifiableCyclicBarrier
(int parties)
test/simpledb/systemtest/TransactionTest.java:166
MethodOrderBy
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
MethodParsingException
(String string)
src/java/simpledb/ParsingException.java:5
MethodPatchTest
()
test/simpledb/systemtest/LogTest.java:129
MethodPermissions
(int permLevel)
src/java/simpledb/Permissions.java:11
MethodPredicate
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
MethodProject
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
MethodQuery
(TransactionId t)
src/java/simpledb/Query.java:44
MethodRecordId
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
MethodSeqScan
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
MethodSkeletonFile
(int tableid, TupleDesc td)
test/simpledb/TestUtil.java:200
MethodStringAggregator
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
MethodStringField
Constructor. @param s The value of this field. @param maxSize The maximum size of this string
src/java/simpledb/StringField.java:27
MethodStringHistogram
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
MethodSubTreeDescriptor
(SubTreeDescriptor leftChild, SubTreeDescriptor rightChild)
src/java/simpledb/QueryPlanVisualizer.java:51
MethodSubtreeSummary
()
src/java/simpledb/BTreeChecker.java:22
MethodTDItem
(Type t, String n)
src/java/simpledb/TupleDesc.java:28
MethodTableStats
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
MethodTestAbort
()
test/simpledb/systemtest/LogTest.java:193
MethodTestAbortCommitInterleaved
()
test/simpledb/systemtest/LogTest.java:213
MethodTestAbortCrash
()
test/simpledb/systemtest/LogTest.java:246
MethodTestCommitAbortCommitCrash
()
test/simpledb/systemtest/LogTest.java:275
MethodTestCommitCrash
()
test/simpledb/systemtest/LogTest.java:174
MethodTestFlushAll
()
test/simpledb/systemtest/LogTest.java:155
MethodTestOpenCommitCheckpointOpenCrash
()
test/simpledb/systemtest/LogTest.java:382
MethodTestOpenCommitOpenCrash
()
test/simpledb/systemtest/LogTest.java:341
MethodTestOpenCrash
()
test/simpledb/systemtest/LogTest.java:315
MethodTransaction
()
src/java/simpledb/Transaction.java:14
MethodTransactionAbortedException
()
src/java/simpledb/TransactionAbortedException.java:9
MethodTransactionId
()
src/java/simpledb/TransactionId.java:16
MethodTuple
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
MethodTupleArrayIterator
(ArrayList<Tuple> tups)
src/java/simpledb/Parser.java:713
MethodTupleComparator
(int keyField)
test/simpledb/systemtest/BTreeScanTest.java:51
MethodTupleComparator
(int field, boolean asc)
src/java/simpledb/OrderBy.java:107
MethodTupleComparator
Construct a TupleComparator @param keyField - the index of the field the tuples are keyed on
src/java/simpledb/BTreeFileEncoder.java:121
MethodTupleDesc
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
MethodTupleIterator
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
MethodUpdateLatch
(ModifiableCyclicBarrier latch, AtomicInteger nextParticipants)
test/simpledb/systemtest/TransactionTest.java:194
MethodXactionTester
(int tableId, ModifiableCyclicBarrier latch)
test/simpledb/systemtest/TransactionTest.java:79
MethodabortTransaction
Unit test for BufferPool.transactionComplete() assuming abort. Verify that a tuple inserted during a committed transaction is durable
test/simpledb/TransactionTest.java:111
MethodacquireReadLocksOnSamePage
Unit test for BufferPool.getPage() assuming locking. Acquires two read locks on the same page.
test/simpledb/LockingTest.java:103
MethodacquireReadLocksOnTwoPages
Unit test for BufferPool.getPage() assuming locking. Acquires read locks on different pages.
test/simpledb/LockingTest.java:148
MethodacquireReadWriteLocksOnSamePage
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
MethodacquireReadWriteLocksOnTwoPages
Unit test for BufferPool.getPage() assuming locking. Acquires a read lock and a write lock on different pages.
test/simpledb/LockingTest.java:130
MethodacquireThenRelease
Unit test for BufferPool.getPage() and BufferPool.releasePage() assuming locking. Acquires read locks on different pages.
test/simpledb/LockingTest.java:179
MethodacquireWriteAndReadLocks
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
MethodacquireWriteLocksOnTwoPages
Unit test for BufferPool.getPage() assuming locking. Acquires write locks on different pages.
test/simpledb/LockingTest.java:139
MethodacquireWriteReadLocksOnSamePage
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
MethodaddDuplicateTuples
()
test/simpledb/systemtest/BTreeFileInsertTest.java:77
MethodaddEntry
Unit test for BTreeInternalPage.addEntry()
test/simpledb/BTreeInternalPageTest.java:210
MethodaddPlan
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
MethodaddTable
Set up initial resources for each unit test.
test/simpledb/BTreeRootPtrPageTest.java:37
MethodaddTable
Set up initial resources for each unit test.
test/simpledb/BTreeHeaderPageTest.java:26
MethodaddTable
Set up initial resources for each unit test.
test/simpledb/HeapPageWriteTest.java:26
MethodaddTable
Set up initial resources for each unit test.
test/simpledb/BTreeInternalPageTest.java:72
MethodaddTable
Set up initial resources for each unit test.
test/simpledb/BTreeLeafPageTest.java:70
MethodaddTables
()
test/simpledb/CatalogTest.java:25
MethodaddTuple
Unit test for HeapPage.addTuple()
test/simpledb/HeapPageWriteTest.java:50
MethodaddTuple
Unit test for HeapFile.addTuple()
test/simpledb/HeapFileWriteTest.java:28
MethodaddTuple
Unit test for BTreeLeafPage.addTuple()
test/simpledb/BTreeLeafPageTest.java:228
MethodaddTuple
()
test/simpledb/systemtest/BTreeFileInsertTest.java:37
MethodaddValue
Add a new value to thte histogram
src/java/simpledb/StringHistogram.java:63
MethodaggregateField
@return the aggregate field
src/java/simpledb/Aggregate.java:59
MethodapplyPredicate
(HeapFile table, TransactionId tid, Predicate predicate)
test/simpledb/systemtest/FilterTest.java:8
MethodapplyPredicate
(HeapFile table, TransactionId tid, Predicate predicate)
test/simpledb/systemtest/DeleteTest.java:12
MethodattemptTransactionTwice
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
MethodavgAggregate
Unit test for Aggregate.getNext() using an avg aggregate
test/simpledb/AggregateTest.java:149
MethodavgSelectivity
@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
MethodavgSelectivity
@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
MethodbigOrderJoinsTest
Test a much-larger join ordering, to confirm that it executes in a reasonable amount of time
test/simpledb/JoinOptimizerTest.java:383
MethodbytesPerPage
()
test/simpledb/TestUtil.java:227
Methodclose
()
test/simpledb/TestUtil.java:266
Methodclose
()
src/java/simpledb/Project.java:54
Methodclose
()
src/java/simpledb/Aggregate.java:122
Methodclose
If subclasses override this, they should call super.close().
src/java/simpledb/AbstractDbFileIterator.java:26
Methodclose
()
src/java/simpledb/OrderBy.java:67
Methodclose
()
src/java/simpledb/HashEquiJoin.java:82
Methodclose
Closes the iterator.
src/java/simpledb/Parser.java:758
← previousnext →501–600 of 1,070, ranked by callers