Do you provide a way for the user to give you a WHERE clause? Without a where clause, the scan will always be what you get when you just create a new Scan (i.e. it'll just scan the entire table).