Package com.azure.cosmos.models
Class ChangeFeedMetaData
java.lang.Object
com.azure.cosmos.models.ChangeFeedMetaData
Change Feed response meta data
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the conflict resolution timestamplongGets the current logical sequence numberGets the Change Feed operation typelongGets the previous logical sequence numberbooleanUsed to distinguish explicit deletes (e.g. via deleteItem() API) from deletes caused by TTL expiration (a collection may define time-to-live policy for documents).toString()
-
Constructor Details
-
ChangeFeedMetaData
public ChangeFeedMetaData()
-
-
Method Details
-
getConflictResolutionTimestamp
Gets the conflict resolution timestamp- Returns:
- conflict resolution timestamp
-
getLogSequenceNumber
public long getLogSequenceNumber()Gets the current logical sequence number- Returns:
- current logical sequence number
-
getOperationType
Gets the Change Feed operation type- Returns:
- change Feed operation type
-
getPreviousLogSequenceNumber
public long getPreviousLogSequenceNumber()Gets the previous logical sequence number- Returns:
- previous logical sequence number
-
isTimeToLiveExpired
public boolean isTimeToLiveExpired()Used to distinguish explicit deletes (e.g. via deleteItem() API) from deletes caused by TTL expiration (a collection may define time-to-live policy for documents).- Returns:
- true if ttlExpiration caused the delete.
-
toString
-