Table of Contents

Class ProjectionRebuildValidation

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

Represents the validation result for a projection rebuild.

public sealed class ProjectionRebuildValidation
Inheritance
ProjectionRebuildValidation
Inherited Members

Properties

CanRebuild

Gets a value indicating whether the projection can be rebuilt.

public required bool CanRebuild { get; init; }

Property Value

bool

A value indicating whether the projection can be rebuilt.

EstimatedDocumentCount

Gets the estimated size of the rebuilt projection.

public long? EstimatedDocumentCount { get; init; }

Property Value

long?

The estimated size of the rebuilt projection.

EstimatedDuration

Gets the estimated time to complete the rebuild.

public TimeSpan? EstimatedDuration { get; init; }

Property Value

TimeSpan?

The estimated time to complete the rebuild.

HasSufficientResources

Gets a value indicating whether sufficient resources are available.

public bool HasSufficientResources { get; init; }

Property Value

bool

A value indicating whether sufficient resources are available.

ValidationMessages

Gets validation messages.

public required IReadOnlyList<string> ValidationMessages { get; init; }

Property Value

IReadOnlyList<string>

Validation messages.

Warnings

Gets any warnings about the rebuild.

public IReadOnlyList<string>? Warnings { get; init; }

Property Value

IReadOnlyList<string>

Any warnings about the rebuild.