Table of Contents

Class ProjectionMetadata

Namespace
Opossum.Projections
Assembly
Opossum.dll

Metadata tracked for each projection instance. Enables intelligent features like cache warming, retention policies, and archiving.

public sealed record ProjectionMetadata : IEquatable<ProjectionMetadata>
Inheritance
ProjectionMetadata
Implements
Inherited Members

Properties

CreatedAt

When this projection was first created.

public required DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

LastUpdatedAt

When this projection was last updated.

public required DateTimeOffset LastUpdatedAt { get; init; }

Property Value

DateTimeOffset

SizeInBytes

Size of the projection file in bytes. Updated on each save operation.

public required long SizeInBytes { get; init; }

Property Value

long

Version

Number of times this projection has been updated (starts at 1). Incremented on each save operation.

public required long Version { get; init; }

Property Value

long