Table of Contents

Class SchemaMigrationRequest

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

Represents a request to migrate a schema.

public sealed class SchemaMigrationRequest
Inheritance
SchemaMigrationRequest
Inherited Members

Properties

BatchSize

Gets the batch size for migration operations.

public int BatchSize { get; init; }

Property Value

int

The batch size for migration operations.

FieldMappings

Gets field mappings for renamed or transformed fields.

public IDictionary<string, string>? FieldMappings { get; init; }

Property Value

IDictionary<string, string>

Field mappings for renamed or transformed fields.

NewSchema

Gets the new schema definition.

public required object NewSchema { get; init; }

Property Value

object

The new schema definition.

ProjectionType

Gets the projection type being migrated.

public required string ProjectionType { get; init; }

Property Value

string

The projection type being migrated.

SourceIndex

Gets the source index name.

public required string SourceIndex { get; init; }

Property Value

string

The source index name.

Strategy

Gets the migration strategy to use.

public required MigrationStrategy Strategy { get; init; }

Property Value

MigrationStrategy

The migration strategy to use.

TargetIndex

Gets the target index name.

public required string TargetIndex { get; init; }

Property Value

string

The target index name.

TransformationScripts

Gets transformation scripts for complex field changes.

public IDictionary<string, string>? TransformationScripts { get; init; }

Property Value

IDictionary<string, string>

Transformation scripts for complex field changes.

ValidateData

Gets a value indicating whether to validate data during migration.

public bool ValidateData { get; init; }

Property Value

bool

A value indicating whether to validate data during migration.