returns the number of pages in this heapfile . concode_field_sep TupleDesc td concode_elem_sep Iterator<Tuple> iterator concode_elem_sep File file concode_elem_sep boolean opened concode_elem_sep int pageNum concode_elem_sep TransactionId tid concode_field_sep Tuple next concode_elem_sep void writePage concode_elem_sep int getId concode_elem_sep boolean hasNext concode_elem_sep File getFile concode_elem_sep TupleDesc getTupleDesc concode_elem_sep Page readPage concode_elem_sep ArrayList<Page> insertTuple concode_elem_sep DbFileIterator iterator concode_elem_sep void rewind concode_elem_sep Page deleteTuple concode_elem_sep void close concode_elem_sep void open
int function ( ) { return ( int ) Math . ceil ( file . length ( ) / ( double ) BufferPool . PAGE_SIZE ) ; }