It is missing the WireRowProcessedEvent.boo and /WireOnFinishedProcessingEvent.boo files
On Mon, Jun 22, 2009 at 8:05 PM, Thiago Morais <thiago...@gmail.com> wrote: > Great, I've created the two macros to handle these events. > > Attached is the patch to handle these events with some tests. > > Thank's for your help. > > Regards, > > Thiago Morais > > > On Mon, Jun 22, 2009 at 12:12 AM, Ayende Rahien <aye...@ayende.com> wrote: > >> That is something that we would probably need a patch for. >> The facility exists, since we have the Processed Row event, but we can't >> capture it in the DSL. >> >> On Fri, Jun 19, 2009 at 4:25 AM, Thiago Morais <thiago...@gmail.com>wrote: >> >>> Let's say I want to notify an user from time to time about how many rows >>> have been processed so far in the process below: >>> >>> operation split_name: >>> for row in rows: >>> continue if row.Name is null >>> row.FirstName = row.Name.Split()[0] >>> row.LastName = row.Name.Split()[1] >>> yield row >>> >>> process UsersToPeople: >>> input "test", Command = "SELECT id, name, email FROM Users" >>> split_name() >>> output "test", Command = """ >>> INSERT INTO People (UserId, FirstName, LastName, Email) >>> VALUES (@UserId, @FirstName, @LastName, @Email) >>> """: >>> row.UserId = row.Id >>> >>> Regards, >>> >>> Thiago Oliveira >>> >>> On Thu, Jun 18, 2009 at 7:41 PM, Ayende Rahien <aye...@ayende.com>wrote: >>> >>>> Off the top of my head, I don't think so.What do you actually need? >>>> >>>> >>>> On Thu, Jun 18, 2009 at 9:19 PM, Thiago Oliveira >>>> <thiago...@gmail.com>wrote: >>>> >>>>> >>>>> Hi, >>>>> >>>>> Is there a way to wire the OnRowProcessed event of the EltProcess >>>>> in boo? >>>>> >>>>> Something like: >>>>> >>>>> process WireEventProcess: >>>>> SomeOperation() >>>>> rowProcessed: >>>>> Console.WriteLine("Operation [{0}]", op.Name) >>>>> >>>>> >>>>> >>>>> Thank you >>>>> >>>>> ==================== >>>>> Thiago Oliveira >>>>> ==================== >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> -- >>> =================== >>> Thiago Oliveira >>> tmor...@neocodex.com.br >>> >>> =================== >>> >>> >>> >> >> >> > > > -- > =================== > Thiago Oliveira > tmor...@neocodex.com.br > =================== > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to rhino-tools-dev@googlegroups.com To unsubscribe from this group, send email to rhino-tools-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---