public final class ChangeFeedOptions extends Object
| Constructor and Description |
|---|
ChangeFeedOptions() |
ChangeFeedOptions(ChangeFeedOptions options) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
maxItemCount()
Gets the maximum number of items to be returned in the enumeration
operation.
|
ChangeFeedOptions |
maxItemCount(Integer maxItemCount)
Sets the maximum number of items to be returned in the enumeration
operation.
|
PartitionKey |
partitionKey()
Gets the partition key used to identify the current request's target
partition.
|
ChangeFeedOptions |
partitionKey(PartitionKey partitionkey)
Sets the partition key used to identify the current request's target
partition.
|
Map<String,Object> |
properties()
Gets the properties
|
ChangeFeedOptions |
properties(Map<String,Object> properties)
Sets the properties used to identify the request token.
|
String |
requestContinuation()
Gets the request continuation token.
|
ChangeFeedOptions |
requestContinuation(String requestContinuation)
Sets the request continuation token.
|
OffsetDateTime |
startDateTime()
Gets the zoned date time to start looking for changes after.
|
ChangeFeedOptions |
startDateTime(OffsetDateTime startDateTime)
Sets the zoned date time (exclusive) to start looking for changes after.
|
boolean |
startFromBeginning()
Get whether change feed should start from beginning (true) or from current
(false).
|
ChangeFeedOptions |
startFromBeginning(boolean startFromBeginning)
Set whether change feed should start from beginning (true) or from current
(false).
|
public ChangeFeedOptions()
public ChangeFeedOptions(ChangeFeedOptions options)
public boolean startFromBeginning()
public ChangeFeedOptions startFromBeginning(boolean startFromBeginning)
startFromBeginning - a boolean value indicating change feed should start
from beginning or notpublic OffsetDateTime startDateTime()
public ChangeFeedOptions startDateTime(OffsetDateTime startDateTime)
startDateTime - a zoned date time to start looking for changes after.public Integer maxItemCount()
public ChangeFeedOptions maxItemCount(Integer maxItemCount)
maxItemCount - the max number of items.public String requestContinuation()
public ChangeFeedOptions requestContinuation(String requestContinuation)
requestContinuation - the request continuation.public PartitionKey partitionKey()
public ChangeFeedOptions partitionKey(PartitionKey partitionkey)
partitionkey - the partition key value.public Map<String,Object> properties()
public ChangeFeedOptions properties(Map<String,Object> properties)
properties - the properties.Copyright © 2019. All rights reserved.