ChangeFeedOptions 类

定义

Specifies the options associated with change feed methods (enumeration operations) in the Azure Cosmos DB database service.

public class ChangeFeedOptions extends FeedOptionsBase
继承
java.lang.Object
ChangeFeedOptions

继承成员

方法

getPartitionKeyRangeId()

Get the partition key range id for the current request

ChangeFeed requests can be executed against specific partition key ranges. This is used to process the change feed in parallel across multiple consumers.

isStartFromBeginning()

Get whether change feed should start from beginning (true) or from current (false). By default it's start from current (false).

setPartitionKeyRangeId(String partitionKeyRangeId)

Set the partition key range id for the current request

ChangeFeed requests can be executed against specific partition key ranges. This is used to process the change feed in parallel across multiple consumers.

setStartFromBeginning(boolean startFromBeginning)

Set whether change feed should start from beginning (true) or from current (false). By default it's start from current (false).

适用于