[reactor-users] turn a query into an iterator

3 views
Skip to first unread message

Gareth Cole

unread,
May 20, 2010, 8:52:40 AM5/20/10
to reacto...@googlegroups.com

Hi,

 

I'm trying to add new features to a project. Currently a custom gateway query is being used, but I realise that the new features would be easier to do if I had that data in the form of an iterator.

 

Is there any quick way to turn a query into an iterator?

 

If not, I'll need to re-write the custom gateway method to produce an iterator instead.

 

Thanks,

 

Gareth

--
You received this message because you are subscribed to the Google Groups "Reactor" group.
To post to this group, send email to reacto...@googlegroups.com.
To unsubscribe from this group, send email to reactor-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reactor-users?hl=en.

Raines, Byron N

unread,
May 20, 2010, 9:17:05 AM5/20/10
to reacto...@googlegroups.com

This might be helpful.

 

http://collectioniterator.riaforge.org/

 

byron

Gareth Cole

unread,
May 20, 2010, 9:40:43 AM5/20/10
to reacto...@googlegroups.com

Thanks for the tip, but it's not quite what I'm looking for in this case.

 

The reactor iterators have the ability to pop out fully baked Record objects for each row. I'm not sure how I could set that up easily with the collection iterator.

Doug Sims

unread,
May 20, 2010, 10:49:22 AM5/20/10
to reacto...@googlegroups.com
I was thinking you could do this by building the object with the reactor OO query syntax but can't verify this from my phone.....Could someone verify  this is true? 

Doug S.

On Thu, May 20, 2010 at 8:40 AM, Gareth Cole <garet...@esus.ie> wrote:

Thanks for the tip, but it's not quite what I'm looking for in this case.

 

The reactor iterators have the ability to pop out fully baked Record objects for each row. I'm not sure how I could set that up easily with the collection iterator.

 

From: reacto...@googlegroups.com [mailto:reacto...@googlegroups.com] On Behalf Of Raines, Byron N
Sent: 20 May 2010 14:17

Subject: RE: [reactor-users] turn a query into an iterator

Reply all
Reply to author
Forward
0 new messages