QueryIterable<T> 类

定义

This is the template class for iterable resources in the Azure Cosmos DB database service.

public class QueryIterable<T extends Resource>

类型参数

T

the resource type of the query iterable.

继承
java.lang.Object
Iterable<T>
QueryIterable<T>

构造函数

QueryIterable(DocumentClient client, ResourceType resourceType, Class<T> classT, String resourceLink, FeedOptionsBase options)
QueryIterable(DocumentClient client, ResourceType resourceType, Class<T> classT, String resourceLink, FeedOptionsBase options, Object partitionKey)
QueryIterable(DocumentClient client, ResourceType resourceType, Class<T> classT, String resourceLink, SqlQuerySpec querySpec, FeedOptionsBase options)
QueryIterable(DocumentClient client, ResourceType resourceType, Class<T> classT, String resourceLink, SqlQuerySpec querySpec, FeedOptionsBase options, Object partitionKey)

方法

fetchNextBlock()

Fetch the next block of query results.

getResponseHeaders()

Gets the response headers.

iterator()

Gets the iterator of the iterable.

reset()

Resets the iterable.

toList()

Get the list of the iterable resources.

适用于