Package | Description |
---|---|
com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
com.azure.cosmos.models |
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
|
Modifier and Type | Method and Description |
---|---|
<T> CosmosPagedIterable<T> |
CosmosContainer.queryChangeFeed(CosmosChangeFeedRequestOptions options,
Class<T> classType)
Query for items in the change feed of the current container using the
CosmosChangeFeedRequestOptions . |
<T> CosmosPagedFlux<T> |
CosmosAsyncContainer.queryChangeFeed(CosmosChangeFeedRequestOptions options,
Class<T> classType)
Query for items in the change feed of the current container using the
CosmosChangeFeedRequestOptions . |
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.createForProcessingFromContinuation(String continuation)
Creates a new
CosmosChangeFeedRequestOptions instance to start processing
change feed items from a previous continuation |
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 |
CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.fullFidelity()
Changes the change feed mode so that the change feed will contain events for creations,
deletes as well as all intermediary snapshots for updates.
|
CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.setMaxItemCount(int maxItemCount)
Sets the maximum number of items to be returned in the enumeration
operation.
|
CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.setMaxPrefetchPageCount(int maxPrefetchPageCount)
Sets the maximum number of pages that will be prefetched from the backend asynchronously
in the background.
|
CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.setThroughputControlGroupName(String throughputControlGroupName)
Set the throughput control group name.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.