Table of Contents

Interface ISchemaEvolutionHandlerAdmin

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

Provides administrative operations for schema evolution including version registration and history tracking. This is an ISP sub-interface of ISchemaEvolutionHandler for consumers that need schema versioning management.

public interface ISchemaEvolutionHandlerAdmin

Methods

GetSchemaHistoryAsync(string, CancellationToken)

Gets the schema version history for a projection type.

Task<SchemaVersionHistory> GetSchemaHistoryAsync(string projectionType, CancellationToken cancellationToken)

Parameters

projectionType string

The projection type.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<SchemaVersionHistory>

The version history of the schema.

RegisterSchemaVersionAsync(SchemaVersionRegistration, CancellationToken)

Registers a schema version for tracking.

Task RegisterSchemaVersionAsync(SchemaVersionRegistration registration, CancellationToken cancellationToken)

Parameters

registration SchemaVersionRegistration

The schema version registration details.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A task representing the asynchronous registration operation.