Hi, Yes you are exactly right. The batch operation of type "query" is different from the normal CalendarQuery (using query criteria). Batch query operation is exactly as you described that you give an event ID that you know and the batch will return the details of that particular event. Each batch operation can only return exactly one entry, hence you can only supply the event ID and get its entry details back.
The batch query is only useful in a certain use cases such as syncing, when you have a large number of events that you already the event ID for and you try to see if there are any changes on them. For the ordinary "searching" type query, you should stick with using CalendarQuery object. Hope that helps, Austin On Fri, May 2, 2008 at 5:57 PM, Alex <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm using Java. I would like to send several queries at once, each > query based on an ExtendedPropertyMatch. > > The example code in the developer guide retrieves a CalendarEventEntry > from a feed and then uses it in a query batch operation, which I don't > understand. Doesn't it then query for that specific entry only? > > I tried creating an empty CalendarEventEntry and setting only the > properties I want to query on (thinking that maybe the entry would be > used as a query template). This failed with "missing ID". > > Can anyone help? > > Thank you. > -alex > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" 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-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
