MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / open

Method open

src/java/simpledb/execution/OpIterator.java:23–23  ·  view source on GitHub ↗

Opens the iterator. This must be called before any of the other methods. @throws DbException when there are problems opening/accessing the database.

()

Source from the content-addressed store, hash-verified

21 * @throws DbException when there are problems opening/accessing the database.
22 */
23 void open()
24 throws DbException, TransactionAbortedException;
25
26 /** Returns true if the iterator has more tuples.

Callers 15

mergeCountMethod · 0.95
testIteratorMethod · 0.95
mergeSumMethod · 0.95
mergeMinMethod · 0.95
mergeMaxMethod · 0.95
mergeAvgMethod · 0.95
testIteratorMethod · 0.95
mainMethod · 0.95
rewindMethod · 0.65
countStringAggregateMethod · 0.65
sumStringGroupByMethod · 0.65
sumAggregateMethod · 0.65

Implementers 7

MockScantest/simpledb/TestUtil.java
TupleArrayIteratorsrc/java/simpledb/Parser.java
TupleIteratorsrc/java/simpledb/storage/TupleIterato
BTreeScansrc/java/simpledb/index/BTreeScan.java
AggregateItersrc/java/simpledb/execution/AggregateI
SeqScansrc/java/simpledb/execution/SeqScan.ja
Operatorsrc/java/simpledb/execution/Operator.j

Calls

no outgoing calls

Tested by 15

mergeCountMethod · 0.76
testIteratorMethod · 0.76
mergeSumMethod · 0.76
mergeMinMethod · 0.76
mergeMaxMethod · 0.76
mergeAvgMethod · 0.76
testIteratorMethod · 0.76
rewindMethod · 0.52
countStringAggregateMethod · 0.52
sumStringGroupByMethod · 0.52
sumAggregateMethod · 0.52
avgAggregateMethod · 0.52