QueryIterable<T> Class
- java.
lang. Object - Iterable<T>
- com.
microsoft. azure. documentdb. QueryIterable<T>
- com.
Type Parameters
- T
the resource type of the query iterable.
public class QueryIterable
This is the template class for iterable resources in the Azure Cosmos DB database service.
Constructor Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
List<T> |
fetchNextBlock()
Fetch the next block of query results. |
Map<String, String> |
getResponseHeaders()
Gets the response headers. |
Iterator<T> |
iterator()
Gets the iterator of the iterable. |
void |
reset()
Resets the iterable. |
List<T> |
toList()
Get the list of the iterable resources. |
Constructor Details
QueryIterable
protected QueryIterable(DocumentClient client, ResourceType resourceType, Class
Parameters:
QueryIterable
protected QueryIterable(DocumentClient client, ResourceType resourceType, Class
Parameters:
QueryIterable
protected QueryIterable(DocumentClient client, ResourceType resourceType, Class
Parameters:
QueryIterable
protected QueryIterable(DocumentClient client, ResourceType resourceType, Class
Parameters:
Method Details
fetchNextBlock
public List
Fetch the next block of query results.
Returns:
Throws:
getResponseHeaders
public Map
Gets the response headers.
Returns:
iterator
public Iterator
Gets the iterator of the iterable.
Returns:
reset
public void reset()
Resets the iterable.
toList
public List
Get the list of the iterable resources.
Returns:
Applies to
Azure SDK for Java