/// <inheritdoc cref="ScanShareableAnalyzer{S,M}.FromAggregationResult"/> protected override Option <NumMatchesAndCount> FromAggregationResult(Row result, int offset) => AnalyzersExt.IfNoNullsIn(result, offset, () => new NumMatchesAndCount( (int)result.Get(offset), (int)result.Get(offset + 1)), 2);
/// <inheritdoc cref="StandardScanShareableAnalyzer{S}.FromAggregationResult"/> protected override Option <SumState> FromAggregationResult(Row result, int offset) => AnalyzersExt.IfNoNullsIn(result, offset, () => new SumState(result.GetAs <double>(offset)));
/// <inheritdoc cref="StandardScanShareableAnalyzer{S}.FromAggregationResult"/> protected override Option <NumMatches> FromAggregationResult(Row result, int offset) => AnalyzersExt.IfNoNullsIn(result, offset, () => new NumMatches(result.GetAs <int>(offset)));
/// <inheritdoc cref="ScanShareableAnalyzer{S,M}.FromAggregationResult"/> protected override Option <MeanState> FromAggregationResult(Row result, int offset) => AnalyzersExt.IfNoNullsIn(result, offset, () => new MeanState((double)result.Get(offset), (int)result.Get(offset + 1)), 2);
/// <inheritdoc cref="ScanShareableAnalyzer{S,M}.FromAggregationResult"/>. protected override Option <DataTypeHistogram> FromAggregationResult(Row result, int offset) => AnalyzersExt.IfNoNullsIn(result, offset, () => { return(DataTypeHistogram.FromArray(result.Values.Select(value => (int)value).ToArray())); });