Skip to main content

ISeriesResolutionService

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

Resolution-aware series resolver (AB#4290): given a logical series' base archive, a query window and a target point count, decides which archive in the series' resolution family (base + rollups) to query and at what effective resolution — without the caller knowing which physical archive holds the data at a usable grain. It picks the route; it does not run the query. See concept-resolution-aware-series-queries.md §5.1.

public interface ISeriesResolutionService

Remarks:

Constructed per-tenant with the tenant's archive / rollup stores (like IRollupDependencyGraph), so callers wire it from their tenant context.

Methods

ResolveAsync(SeriesResolutionRequest, CancellationToken)

Resolves the archive to query for . Never throws for a business-level "no suitable route" outcome — those are carried by SeriesResolutionResult.Signal.

Task<SeriesResolutionResult> ResolveAsync(SeriesResolutionRequest request, CancellationToken cancellationToken)

Parameters

request SeriesResolutionRequest

cancellationToken CancellationToken

Returns

Task<SeriesResolutionResult>