MCPcopy Create free account

hub / github.com/awelm/simpledb / functions

Functions643 in github.com/awelm/simpledb

MethodJoinOptimizer
Constructor @param p the logical plan being optimized @param joins the list of joins being performed
src/simpledb/JoinOptimizer.java:20
MethodJoinPredicate
Constructor -- create a new predicate over two fields of two tuples. @param field1 The field index into the first tuple in the predicate @param field
src/simpledb/JoinPredicate.java:22
MethodLock
(TransactionId tid, PageId pid, boolean exclusive)
src/simpledb/LockManager.java:15
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:323
MethodLockManager
()
src/simpledb/LockManager.java:41
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/simpledb/LogFile.java:107
MethodLogicalFilterNode
(String table, String field, Predicate.Op pred, String constant)
src/simpledb/LogicalFilterNode.java:22
MethodLogicalJoinNode
()
src/simpledb/LogicalJoinNode.java:22
MethodLogicalPlan
Constructor -- generate an empty logical plan
src/simpledb/LogicalPlan.java:46
MethodLogicalScanNode
(int table, String alias)
src/simpledb/LogicalScanNode.java:14
MethodLogicalSelectListNode
(String aggOp, String fname)
src/simpledb/LogicalSelectListNode.java:15
MethodLogicalSubplanJoinNode
(String table1, String joinField1, DbIterator sp, Predicate.Op pred)
src/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 true if the sort
src/simpledb/OrderBy.java:22
MethodParsingException
(String string)
src/simpledb/ParsingException.java:5
MethodPermissions
(int permLevel)
src/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 operand field value t
src/simpledb/Predicate.java:42
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 of the field
src/simpledb/Project.java:21
MethodQuery
(DbIterator root, TransactionId t)
src/simpledb/Query.java:19
MethodRecordId
Creates a new RecordId refering to the specified PageId and tuple number. @param pid the pageid of the page on which the tuple resides @param tupleno
src/simpledb/RecordId.java:15
MethodSeqScan
Creates a sequential scan over the specified table as a part of the specified transaction. @param tid The transaction this scan is running as a part
src/simpledb/SeqScan.java:28
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/simpledb/StringAggregator.java:26
MethodStringAggregatorIterator
(StringAggregator stringAgg)
src/simpledb/StringAggregator.java:55
MethodStringField
Constructor. @param s The value of this field. @param maxSize The maximum size of this string
src/simpledb/StringField.java:23
MethodStringHistogram
Create a new StringHistogram with a specified number of buckets. <p> Our implementation is written in terms of an IntHistogram by conv
src/simpledb/StringHistogram.java:13
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 statistics @p
src/simpledb/TableStats.java:30
MethodTransaction
()
src/simpledb/Transaction.java:14
MethodTransactionAbortedException
()
src/simpledb/TransactionAbortedException.java:9
MethodTransactionId
()
src/simpledb/TransactionId.java:12
MethodTuple
Create a new tuple with the specified schema (type). @param td the schema of this tuple. It must be a valid TupleDesc instance with at least one fiel
src/simpledb/Tuple.java:36
MethodTupleArrayIterator
(ArrayList<Tuple> tups)
src/simpledb/Parser.java:552
MethodTupleComparator
(int field, boolean asc)
src/simpledb/OrderBy.java:70
MethodTupleDesc
Create a new TupleDesc with typeAr.length fields with fields of the specified types, with associated named fields. @param typeAr array specifying the
src/simpledb/TupleDesc.java:56
MethodTupleIterator
Constructs an iterator from the specified Iterable, and the specified descriptor. @param tuples The set of tuples to iterate over
src/simpledb/TupleIterator.java:17
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
MethodaddTable
Set up initial resources for each unit test.
test/simpledb/HeapPageWriteTest.java:26
MethodaddTables
()
test/simpledb/CatalogTest.java:21
MethodaddTuple
Unit test for HeapPage.addTuple()
test/simpledb/HeapPageWriteTest.java:50
MethodaddTuple
Unit test for HeapFile.addTuple()
test/simpledb/HeapFileWriteTest.java:28
MethodaddTuple
(TransactionId tid, Tuple t)
test/simpledb/TestUtil.java:217
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
MethodbigOrderJoinsTest
Test a much-larger join ordering, to confirm that it executes in a reasonable amount of time
test/simpledb/JoinOptimizerTest.java:286
MethodbytesPerPage
()
test/simpledb/TestUtil.java:227
Methodclose
()
test/simpledb/TestUtil.java:265
Methodclose
()
src/simpledb/Project.java:42
Methodclose
()
src/simpledb/Aggregate.java:138
Methodclose
()
src/simpledb/StringAggregator.java:92
Methodclose
()
src/simpledb/IntAggregator.java:139
Methodclose
Closes this iterator. If overridden by a subclass, they should call super.close() in order for AbstractDbIterator's internal state to be cons
src/simpledb/AbstractDbIterator.java:35
Methodclose
()
src/simpledb/HeapFile.java:206
Methodclose
If subclasses override this, they should call super.close().
src/simpledb/AbstractDbFileIterator.java:25
Methodclose
()
src/simpledb/OrderBy.java:43
Methodclose
Closes the iterator.
src/simpledb/Parser.java:595
Methodcombine
Unit test for TupleDesc.combine()
test/simpledb/TupleDescTest.java:18
MethodcommitTransaction
Unit test for BufferPool.transactionComplete() assuing commit. Verify that a tuple inserted during a committed transaction is durable
test/simpledb/TransactionTest.java:103
Methodcompare
Compare the specified field to the value of this Field. Return semantics are as specified by Field.compare @throws IllegalCastException if val is not
src/simpledb/StringField.java:69
Methodcompare
(Tuple o1, Tuple o2)
src/simpledb/OrderBy.java:75
Methodcompare
Compare the specified field to the value of this Field. Return semantics are as specified by Field.compare @throws IllegalCastException if val is not
src/simpledb/IntField.java:47
MethodcountStringAggregate
Unit test for Aggregate.getNext() using a count aggregate with string types
test/simpledb/AggregateTest.java:116
MethodcreateDuplicateHeapFile
Given a matrix of tuples from SystemTestUtil.createRandomHeapFile, create an identical HeapFile table @param tuples Tuples to create a HeapFile from @
test/simpledb/systemtest/QueryTest.java:37
MethodcreatePid
()
test/simpledb/HeapPageIdTest.java:17
MethodcreatePids
()
test/simpledb/RecordIdTest.java:19
MethodcreateTupleList
Initialize each unit test
test/simpledb/StringAggregatorTest.java:21
MethodcreateTupleList
Initialize each unit test
test/simpledb/IntAggregatorTest.java:26
MethodcreateTupleLists
Initialize each unit test
test/simpledb/AggregateTest.java:31
MethodcreateTupleLists
Initialize each unit test
test/simpledb/JoinTest.java:25
MethoddeleteNonexistentTuple
Unit test for HeapPage.deleteTuple() with false tuples
test/simpledb/HeapPageWriteTest.java:91
MethoddeleteTuple
Unit test for HeapPage.deleteTuple()
test/simpledb/HeapPageWriteTest.java:100
MethoddeleteTuple
(TransactionId tid, Tuple t)
test/simpledb/TestUtil.java:222
MethoddeleteTuple
Removes the specifed tuple from the file on behalf of the specified transaction. This method will acquire a lock on the affected pages of the file, an
src/simpledb/DbFile.java:55
MethodeqJoin
Unit test for Join.getNext() using an = predicate
test/simpledb/JoinTest.java:100
Methodequals
Unit test for HeapPageId.equals()
test/simpledb/HeapPageIdTest.java:57
Methodequals
Unit test for RecordId.equals()
test/simpledb/RecordIdTest.java:49
Methodequals
Compares one PageId to another. @param o The object to compare against (must be a PageId) @return true if the objects are equal (e.g., page numbers a
src/simpledb/PageId.java:32
Methodequals
(Object field)
src/simpledb/StringField.java:40
Methodequals
(Object o)
src/simpledb/LogicalSubplanJoinNode.java:23
Methodequals
(Object tid)
src/simpledb/TransactionId.java:20
Methodequals
Two RecordId objects are considered equal if they represent the same tuple. @return True if this and o represent the same tuple
src/simpledb/RecordId.java:38
Methodequals
(Object o)
src/simpledb/LockManager.java:21
Methodequals
(Object o)
src/simpledb/LogicalJoinNode.java:52
Methodequals
(Object field)
src/simpledb/IntField.java:32
MethodestimateJoinCardinality
Verify that the join cardinalities produced by estimateJoinCardinality() are reasonable
test/simpledb/JoinOptimizerTest.java:164
MethodestimateJoinCostTest
Verify that the estimated join costs from estimateJoinCost() are reasonable we check various order requirements for the output of estimateJoinCost.
test/simpledb/JoinOptimizerTest.java:87
MethodestimateScanCostTest
Verify the cost estimates of scanning various numbers of pages from a HeapFile This test checks that the estimateScanCost is: +linear in numPages wh
test/simpledb/TableStatsTest.java:51
MethodestimateSelectivityTest
Verify that selectivity estimates do something reasonable. Don't bother splitting this into N different functions for each possible Op because we will
test/simpledb/TableStatsTest.java:110
← previousnext →301–400 of 643, ranked by callers