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