[elephant-devel] No more controller-root?

Ian Eslick eslick at csail.mit.edu
Fri Aug 25 19:35:38 UTC 2006


Go ahead and export map-root.  I think controller-root was factored out
and is now private to the backend and not the elephant package proper. 
Implementing the root index requires implementing the add/get/remove
operations but not controller-root.  map-root should be an interface
standard, however.

We can enforce a root as index policy as well, I forget the reasons I
chose this partitioning.

Ian

Robert L. Read wrote:
> Ian can answer this better than I can, but I would say just use
> map-root anyway.
> It might be an oversight that it is not external.
>
> Perhaps Ian has a better idea.
>
>
> On Thu, 2006-08-24 at 23:19 -0400, kykim_lists at mac.com wrote:
>> I want to get all the top-level keys in my data store.
>>
>> I use to do this:
>>   (let ((results '()))
>>     (ele:with-open-store (+data-store+)
>>       (ele:map-btree #'(lambda (k v) (push k results)) (ele:controller-root ele:*store-controller*)))
>>     (nreverse results)))
>>
>> But now, controller-root is no longer external.
>> It looks like map-root would do what I want, but it's not external either (?)
>>
>> Any suggestions on what I can do?
>>
>> Thanks,
>> -kevin
>>
>> _______________________________________________
>> elephant-devel site list
>> elephant-devel at common-lisp.net <mailto:elephant-devel at common-lisp.net>
>> http://common-lisp.net/mailman/listinfo/elephant-devel
>>     
> ------------------------------------------------------------------------
>
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel



More information about the elephant-devel mailing list