Package | Description |
---|---|
com.azure.cosmos.models |
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
|
Modifier and Type | Method and Description |
---|---|
static FeedRange |
FeedRange.forFullRange()
Creates a range for an entire container
|
static FeedRange |
FeedRange.forLogicalPartition(PartitionKey partitionKey)
Creates a range for a certain logical partition
|
static FeedRange |
FeedRange.fromString(String json)
Creates a range from a previously obtained string representation.
|
FeedRange |
CosmosQueryRequestOptions.getFeedRange()
Gets the
FeedRange |
FeedRange |
CosmosChangeFeedRequestOptions.getFeedRange() |
Modifier and Type | Method and Description |
---|---|
static CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.createForProcessingFromBeginning(FeedRange feedRange)
Creates a new
CosmosChangeFeedRequestOptions instance to start processing
change feed items from the beginning of the change feed |
static CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.createForProcessingFromNow(FeedRange feedRange)
Creates a new
CosmosChangeFeedRequestOptions instance to start processing
change feed items from the current time - so only events for all future changes will be
retrieved |
static CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.createForProcessingFromPointInTime(Instant pointInTime,
FeedRange feedRange)
Creates a new
CosmosChangeFeedRequestOptions instance to start processing
change feed items from a certain point in time |
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setFeedRange(FeedRange feedRange)
Sets the
FeedRange that we want to query |
Copyright © 2021 Microsoft Corporation. All rights reserved.