Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awelm/simpledb
/ functions
Functions
643 in github.com/awelm/simpledb
⨍
Functions
643
◇
Types & classes
114
Method
JoinOptimizer
Constructor @param p the logical plan being optimized @param joins the list of joins being performed
src/simpledb/JoinOptimizer.java:20
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 @param field
src/simpledb/JoinPredicate.java:22
Method
Lock
(TransactionId tid, PageId pid, boolean exclusive)
src/simpledb/LockManager.java:15
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:323
Method
LockManager
()
src/simpledb/LockManager.java:41
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/simpledb/LogFile.java:107
Method
LogicalFilterNode
(String table, String field, Predicate.Op pred, String constant)
src/simpledb/LogicalFilterNode.java:22
Method
LogicalJoinNode
()
src/simpledb/LogicalJoinNode.java:22
Method
LogicalPlan
Constructor -- generate an empty logical plan
src/simpledb/LogicalPlan.java:46
Method
LogicalScanNode
(int table, String alias)
src/simpledb/LogicalScanNode.java:14
Method
LogicalSelectListNode
(String aggOp, String fname)
src/simpledb/LogicalSelectListNode.java:15
Method
LogicalSubplanJoinNode
(String table1, String joinField1, DbIterator sp, Predicate.Op pred)
src/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 true if the sort
src/simpledb/OrderBy.java:22
Method
ParsingException
(String string)
src/simpledb/ParsingException.java:5
Method
Permissions
(int permLevel)
src/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 operand field value t
src/simpledb/Predicate.java:42
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 of the field
src/simpledb/Project.java:21
Method
Query
(DbIterator root, TransactionId t)
src/simpledb/Query.java:19
Method
RecordId
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
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 as a part
src/simpledb/SeqScan.java:28
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/simpledb/StringAggregator.java:26
Method
StringAggregatorIterator
(StringAggregator stringAgg)
src/simpledb/StringAggregator.java:55
Method
StringField
Constructor. @param s The value of this field. @param maxSize The maximum size of this string
src/simpledb/StringField.java:23
Method
StringHistogram
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
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 statistics @p
src/simpledb/TableStats.java:30
Method
Transaction
()
src/simpledb/Transaction.java:14
Method
TransactionAbortedException
()
src/simpledb/TransactionAbortedException.java:9
Method
TransactionId
()
src/simpledb/TransactionId.java:12
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 with at least one fiel
src/simpledb/Tuple.java:36
Method
TupleArrayIterator
(ArrayList<Tuple> tups)
src/simpledb/Parser.java:552
Method
TupleComparator
(int field, boolean asc)
src/simpledb/OrderBy.java:70
Method
TupleDesc
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
Method
TupleIterator
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
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
addTable
Set up initial resources for each unit test.
test/simpledb/HeapPageWriteTest.java:26
Method
addTables
()
test/simpledb/CatalogTest.java:21
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
(TransactionId tid, Tuple t)
test/simpledb/TestUtil.java:217
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
bigOrderJoinsTest
Test a much-larger join ordering, to confirm that it executes in a reasonable amount of time
test/simpledb/JoinOptimizerTest.java:286
Method
bytesPerPage
()
test/simpledb/TestUtil.java:227
Method
close
()
test/simpledb/TestUtil.java:265
Method
close
()
src/simpledb/Project.java:42
Method
close
()
src/simpledb/Aggregate.java:138
Method
close
()
src/simpledb/StringAggregator.java:92
Method
close
()
src/simpledb/IntAggregator.java:139
Method
close
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
Method
close
()
src/simpledb/HeapFile.java:206
Method
close
If subclasses override this, they should call super.close().
src/simpledb/AbstractDbFileIterator.java:25
Method
close
()
src/simpledb/OrderBy.java:43
Method
close
Closes the iterator.
src/simpledb/Parser.java:595
Method
combine
Unit test for TupleDesc.combine()
test/simpledb/TupleDescTest.java:18
Method
commitTransaction
Unit test for BufferPool.transactionComplete() assuing commit. Verify that a tuple inserted during a committed transaction is durable
test/simpledb/TransactionTest.java:103
Method
compare
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
Method
compare
(Tuple o1, Tuple o2)
src/simpledb/OrderBy.java:75
Method
compare
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
Method
countStringAggregate
Unit test for Aggregate.getNext() using a count aggregate with string types
test/simpledb/AggregateTest.java:116
Method
createDuplicateHeapFile
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
Method
createPid
()
test/simpledb/HeapPageIdTest.java:17
Method
createPids
()
test/simpledb/RecordIdTest.java:19
Method
createTupleList
Initialize each unit test
test/simpledb/StringAggregatorTest.java:21
Method
createTupleList
Initialize each unit test
test/simpledb/IntAggregatorTest.java:26
Method
createTupleLists
Initialize each unit test
test/simpledb/AggregateTest.java:31
Method
createTupleLists
Initialize each unit test
test/simpledb/JoinTest.java:25
Method
deleteNonexistentTuple
Unit test for HeapPage.deleteTuple() with false tuples
test/simpledb/HeapPageWriteTest.java:91
Method
deleteTuple
Unit test for HeapPage.deleteTuple()
test/simpledb/HeapPageWriteTest.java:100
Method
deleteTuple
(TransactionId tid, Tuple t)
test/simpledb/TestUtil.java:222
Method
deleteTuple
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
Method
eqJoin
Unit test for Join.getNext() using an = predicate
test/simpledb/JoinTest.java:100
Method
equals
Unit test for HeapPageId.equals()
test/simpledb/HeapPageIdTest.java:57
Method
equals
Unit test for RecordId.equals()
test/simpledb/RecordIdTest.java:49
Method
equals
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
Method
equals
(Object field)
src/simpledb/StringField.java:40
Method
equals
(Object o)
src/simpledb/LogicalSubplanJoinNode.java:23
Method
equals
(Object tid)
src/simpledb/TransactionId.java:20
Method
equals
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
Method
equals
(Object o)
src/simpledb/LockManager.java:21
Method
equals
(Object o)
src/simpledb/LogicalJoinNode.java:52
Method
equals
(Object field)
src/simpledb/IntField.java:32
Method
estimateJoinCardinality
Verify that the join cardinalities produced by estimateJoinCardinality() are reasonable
test/simpledb/JoinOptimizerTest.java:164
Method
estimateJoinCostTest
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
Method
estimateScanCostTest
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
Method
estimateSelectivityTest
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
← previous
next →
301–400 of 643, ranked by callers