[ZODB-Dev] IStorageIteration
Christian Theune
ct at gocept.com
Mon Feb 11 13:25:43 EST 2008
Hi,
Jim Fulton schrieb:
>
> On Feb 11, 2008, at 1:19 PM, Christian Theune wrote:
> ...
>>>> Also, this code isn't ZEO-compatible (apart from the fact that
>>>> ClientStorage doesn't implement the interface).
>>> How so?
>>
>> As far as I understand, ZEO can't pass iterators around directly but
>> needs to provide at least some wrapping code on the protocol level ...
>
> Good point. This, at least, makes the implementation rather tricky.
There is the pattern like undoInfo/Log and record_iternext which
provides context by passing in ranges of records to return + tolerance
for ranges that don't exist.
Christian
--
gocept gmbh & co. kg - forsterstrasse 29 - 06112 halle (saale) - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
More information about the ZODB-Dev
mailing list