Definitely a cylinder. Don't know if you can get a hard floor only brush for the dc08, but you can for the dc02 (normal 32mm tools too so a cheap eBay one will do). And a dc02 will be more than capable for hard floors and a bit of carpet!
Handheld? Meh, better off with a good cylinder imo!