Package com.azure.cosmos.models
Class ChangeFeedProcessorItem
java.lang.Object
com.azure.cosmos.models.ChangeFeedProcessorItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the change feed metadata.Gets the change feed current item.Gets the change feed previous item.Helper API to convert this changeFeedProcessorItem instance to raw JsonNode format.toString()
-
Constructor Details
-
ChangeFeedProcessorItem
public ChangeFeedProcessorItem()
-
-
Method Details
-
getCurrent
Gets the change feed current item.- Returns:
- change feed current item.
-
getPrevious
Gets the change feed previous item. For delete operations, previous image is always going to be provided. The previous image on replace operations is not going to be exposed by default and requires account-level or container-level opt-in.- Returns:
- change feed previous item.
-
getChangeFeedMetaData
Gets the change feed metadata.- Returns:
- change feed metadata.
-
toJsonNode
Helper API to convert this changeFeedProcessorItem instance to raw JsonNode format.- Returns:
- jsonNode format of this changeFeedProcessorItem instance.
- Throws:
IllegalArgumentException- If conversion fails due to incompatible type; if so, root cause will contain underlying checked exception data binding functionality threw
-
toString
-