proximity fetch with the low level API ?

41 views
Skip to first unread message

Zsombor

unread,
Dec 8, 2010, 9:18:54 AM12/8/10
to javageomodel-discuss
Hi,

We are using the low level API, instead of JDO/JPA for accessing the
datastore, so instead of PersistentManager I have DatastoreService.
Unfortunately GeocellManager.proximityFetch expects PersistentManager
and entity class. How can I do the same thing ?

BR,
Zsombor

Zsombor

unread,
Dec 11, 2010, 11:00:54 AM12/11/10
to javageomodel-discuss
I've copy-pasted a solution for it : http://code.google.com/p/javageomodel/issues/detail?id=21

By the way, what is the 'maxDistance' parameter dimension ? Is it in
km ?

BR,
Zsombor

Alexandre Gellibert

unread,
Dec 11, 2010, 4:40:53 PM12/11/10
to javageomod...@googlegroups.com
    * @param maxDistance (optional) A number indicating the maximum distance to search, in meters. Set to 0 if no max distance is expected


By the way, thanks for your low level class. I'm not gonna add it to the main code because I dont want to add a dependency to appengine, but I'll put a not on the main page to link to your file.

++
Alex
--
Alexandre Gellibert
alexandre...@gmail.com
Reply all
Reply to author
Forward
0 new messages