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
projectionTypestringThe projection type.
cancellationTokenCancellationTokenThe 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
registrationSchemaVersionRegistrationThe schema version registration details.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task
A task representing the asynchronous registration operation.