To use a paged query with object-based requests:
•In the first request, use a count entry with a value of zero to get a response that does not include any object records but contains a totalResults value that specifies the total number of objects that meet the query criteria.
•In each request after the first, optionally specify a count entry. If you omit the count entry, the result set includes at most 100 objects.
•After each request, check the value of the code property of the status entry to determine whether the result set contains the last object that meets the criteria:
oIf the value is INCOMPLETE, more results remain. Request another page.
oIf the value is COMPLETE, the result set includes the last object that meets the query criteria.
For information on handling paged queries with 100,000 or fewer matching objects, see Paged queries with 100,000 or fewer matching objects. For information on handling requests with very large numbers of matching objects, see Paged queries with more than 100,000 matching objects.
For an example of using a paged object-based query, see Using a paged query to retrieve a list of all objects in a namespace example.
© 2017 Hitachi Data Systems Corporation. All rights reserved.