QueryIterable<T> Class
- java.
lang. Object - com.
microsoft. azure. documentdb. QueryIterable<T>
- com.
Type Parameters
- T
the resource type of the query iterable.
Implements
public class QueryIterable
implements java.lang.Iterable<T>
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 |
---|---|
java.util.List<T> |
fetchNextBlock()
Fetch the next block of query results. |
java.util.Map<java.lang.String,java.lang.String> |
getResponseHeaders()
Gets the response headers. |
java.util.Iterator<T> |
iterator()
Gets the iterator of the iterable. |
void |
reset()
Resets the iterable. |
java.util.List<T> |
toList()
Get the list of the iterable resources. |
Methods inherited from java.lang.Object
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