<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cursor_batch(self, table_name, start_timeperiod, end_timeperiod):
 """ method returns batched DB cursor """

        raise NotImplementedError('method cursor_batch must be implemented by {0}'.format(self.__class__.__name__))