Extract StatementIterator to handle offsetting/limiting records returned from database.