Table of Contents

Class SchemaMigrationPlan

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

Represents a schema migration plan.

public sealed class SchemaMigrationPlan
Inheritance
SchemaMigrationPlan
Inherited Members

Properties

EstimatedDocuments

Gets the estimated data volume to migrate.

public long? EstimatedDocuments { get; init; }

Property Value

long?

The estimated data volume to migrate.

EstimatedDuration

Gets the estimated duration of the migration.

public TimeSpan? EstimatedDuration { get; init; }

Property Value

TimeSpan?

The estimated duration of the migration.

IsReversible

Gets a value indicating whether the migration can be rolled back.

public bool IsReversible { get; init; }

Property Value

bool

A value indicating whether the migration can be rolled back.

PlanId

Gets the unique identifier for this migration plan.

public required string PlanId { get; init; }

Property Value

string

The unique identifier for this migration plan.

ProjectionType

Gets the projection type being migrated.

public required string ProjectionType { get; init; }

Property Value

string

The projection type being migrated.

RollbackSteps

Gets the rollback plan if reversible.

public IReadOnlyList<MigrationStep>? RollbackSteps { get; init; }

Property Value

IReadOnlyList<MigrationStep>

The rollback plan if reversible.

Steps

Gets the ordered list of migration steps.

public required IReadOnlyList<MigrationStep> Steps { get; init; }

Property Value

IReadOnlyList<MigrationStep>

The ordered list of migration steps.

Strategy

Gets the migration strategy.

public required MigrationStrategy Strategy { get; init; }

Property Value

MigrationStrategy

The migration strategy.

ValidationChecks

Gets validation checks to perform.

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

Property Value

IReadOnlyList<string>

Validation checks to perform.