Hi Richard,

On Thu, Oct 22, 2009 at 3:11 PM, Richard <[email protected]> wrote:
>
> Hi Yasuo,
>
>> The maximum number of entities in a batch put or batch delete is 500.
>> The maximum number of entities in a batch get is 1000.
>
> That's true, but in this case I'm assuming not all keys have entries
> so I'll only get back the entities that exist. They keys that have no
> associated entities will return nothing. So keys > entities, and
> hopefully keys could > 1000.  Put in e.g. 1500 keys, get out 50
> entities, providing me with a fast(er) IN search.
>
You cannot specify more than 1000 keys in a batch get.

If you specify more than 1000 keys in a batch get,
you will encounter the following exception:
java.lang.IllegalArgumentException: cannot get more than 1000 keys in
a single call

Hope this helps,

Yasuo Higa

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to