public class ItemOperations extends Object
Constructor and Description |
---|
ItemOperations() |
Modifier and Type | Method and Description |
---|---|
static <T> FeedResponse<T> |
readMany(CosmosContainer container,
List<org.apache.commons.lang3.tuple.Pair<String,PartitionKey>> itemKeyList,
Class<T> klass)
Note: although this method is public, it is not part of public API and may change in future.
|
static <T> reactor.core.publisher.Mono<FeedResponse<T>> |
readManyAsync(CosmosAsyncContainer container,
List<org.apache.commons.lang3.tuple.Pair<String,PartitionKey>> itemKeyList,
Class<T> klass)
Note: although this method is public, it is not part of public API and may change in future.
|
public static <T> FeedResponse<T> readMany(CosmosContainer container, List<org.apache.commons.lang3.tuple.Pair<String,PartitionKey>> itemKeyList, Class<T> klass)
Reads many documents.
container
- the cosmos async containeritemKeyList
- document id and partition key pair that needs to be readklass
- class typepublic static <T> reactor.core.publisher.Mono<FeedResponse<T>> readManyAsync(CosmosAsyncContainer container, List<org.apache.commons.lang3.tuple.Pair<String,PartitionKey>> itemKeyList, Class<T> klass)
Reads many documents.
container
- the cosmos async containeritemKeyList
- document id and partition key pair that needs to be readklass
- class typeCopyright © 2020 Microsoft Corporation. All rights reserved.