Table of Contents

Class CoverageSampleOutcome<TSource>.Sampled

Namespace
EncDotNet.S100.Datasets.Pipelines.Query
Assembly
EncDotNet.S100.Core.dll

A value.

public sealed record CoverageSampleOutcome<TSource>.Sampled : CoverageSampleOutcome<TSource>, IEquatable<CoverageSampleOutcome<TSource>>, IEquatable<CoverageSampleOutcome<TSource>.Sampled>
Inheritance
CoverageSampleOutcome<TSource>.Sampled
Implements
Inherited Members

Constructors

Sampled(TSource, SampledValue)

A value.

public Sampled(TSource Source, SampledValue Value)

Parameters

Source TSource

The dataset that produced it.

Value SampledValue

The value; for a windowed query, the first entry with data (or the site's fallback).

Properties

CoveredFrom

For a windowed query, the start of the window clipped to the dataset's range.

public DateTimeOffset? CoveredFrom { get; init; }

Property Value

DateTimeOffset?

CoveredTo

For a windowed query, the end of the window clipped to the dataset's range.

public DateTimeOffset? CoveredTo { get; init; }

Property Value

DateTimeOffset?

Series

For a windowed query, one entry per step in the window; otherwise null.

public IReadOnlyList<CoverageTimedSample>? Series { get; init; }

Property Value

IReadOnlyList<CoverageTimedSample>

Source

The dataset that produced it.

public TSource Source { get; init; }

Property Value

TSource

TimeStatus

For a single instant on a time-varying product, one of the SampleTimeStatus values; null when no time was requested, for a product with no time dimension, and for windowed queries.

public string? TimeStatus { get; init; }

Property Value

string

Truncated

For a windowed query, whether the window reaches past the dataset's range.

public bool? Truncated { get; init; }

Property Value

bool?

Value

The value; for a windowed query, the first entry with data (or the site's fallback).

public SampledValue Value { get; init; }

Property Value

SampledValue