Table of Contents

Class ProjectionRebuildStatus

Namespace
Excalibur.Data.ElasticSearch.Projections
Assembly
Excalibur.Data.ElasticSearch.dll

Represents the current status of a rebuild operation.

public sealed class ProjectionRebuildStatus
Inheritance
ProjectionRebuildStatus
Inherited Members

Properties

Checkpoint

Gets the current checkpoint or progress marker.

public string? Checkpoint { get; init; }

Property Value

string

The current checkpoint or progress marker.

CompletedAt

Gets the timestamp when the rebuild completed, if applicable.

public DateTimeOffset? CompletedAt { get; init; }

Property Value

DateTimeOffset?

The timestamp when the rebuild completed, if applicable.

DocumentsPerSecond

Gets the current processing rate (documents per second).

public double DocumentsPerSecond { get; init; }

Property Value

double

The current processing rate (documents per second).

EstimatedTimeRemaining

Gets the estimated time remaining.

public TimeSpan? EstimatedTimeRemaining { get; init; }

Property Value

TimeSpan?

The estimated time remaining.

FailedDocuments

Gets the number of failed documents.

public long FailedDocuments { get; init; }

Property Value

long

The number of failed documents.

LastError

Gets the last error message, if any.

public string? LastError { get; init; }

Property Value

string

The last error message, if any.

OperationId

Gets the operation identifier.

public required string OperationId { get; init; }

Property Value

string

The operation identifier.

PercentComplete

Gets the percentage of completion (0-100).

public double PercentComplete { get; init; }

Property Value

double

The percentage of completion (0-100).

ProcessedDocuments

Gets the number of documents processed so far.

public long ProcessedDocuments { get; init; }

Property Value

long

The number of documents processed so far.

ProjectionType

Gets the projection type being rebuilt.

public required string ProjectionType { get; init; }

Property Value

string

The projection type being rebuilt.

StartedAt

Gets the timestamp when the rebuild started.

public required DateTimeOffset StartedAt { get; init; }

Property Value

DateTimeOffset

The timestamp when the rebuild started.

State

Gets the current state of the rebuild.

public required RebuildState State { get; init; }

Property Value

RebuildState

The current state of the rebuild.

TotalDocuments

Gets the total number of documents to process.

public long TotalDocuments { get; init; }

Property Value

long

The total number of documents to process.