method returns batched DB cursor

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__))