Skip to content

HeapFile iterator must use {@link BufferPool#getPage}, rather than {@link #readPage} t #1

Description

@jasonleaster

Returns an iterator over all the tuples stored in this DbFile.
The iterator must use {@link BufferPool#getPage}, rather than {@link #readPage} to iterate through the pages.

public DbFileIterator iterator(TransactionId tid) {
// some code goes here
return new HeapFileIterator();
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions