Interface IChangeFeedEvent<TDocument>
- Namespace
- Excalibur.Data.CloudNative
- Assembly
- Excalibur.Data.Abstractions.dll
Represents a change in a cloud-native document database.
public interface IChangeFeedEvent<out TDocument>
Type Parameters
TDocumentThe type of the document that changed.
Properties
ContinuationToken
Gets the continuation token for resuming the feed from this point.
string ContinuationToken { get; }
Property Value
Document
Gets the document after the change (null for deletes).
TDocument? Document { get; }
Property Value
- TDocument
DocumentId
Gets the document ID.
string DocumentId { get; }
Property Value
EventType
Gets the type of change that occurred.
ChangeFeedEventType EventType { get; }
Property Value
PartitionKey
Gets the partition key of the document.
IPartitionKey PartitionKey { get; }
Property Value
SequenceNumber
Gets the sequence number or version of this change.
long SequenceNumber { get; }
Property Value
Timestamp
Gets the timestamp when the change occurred.
DateTimeOffset Timestamp { get; }