Show / Hide Table of Contents

Class SplitMetricsPlan

Given a MetricsPlan, split it into two metrics plan (let's call them "produce" and "consume").

"Produce" plan describes the computation before the the first Aggregation. In other words, it contains DataSources, Joins, TableReferences, Externs or Unions. This can be viewed as "data preparation" part.

"Consume" plan contains all the Aggregations from the original plan. "Consume" plan has a unique DataSource, whose DataSourceColumns are determined automatically from the original MetricsPlan.

Inheritance
Object
SplitMetricsPlan
Implements
IGenericMetricsPlanTransformer<ValueTuple<MetricsPlan, MetricsPlan>>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.MetricSetTransformers.Vectorization
Assembly: MetricSetTransformers.dll
Syntax
public class SplitMetricsPlan : IGenericMetricsPlanTransformer<(MetricsPlan, MetricsPlan)>
Remarks

NOTE: This class makes the assumption that the original MetricsPlan has a UNIQUE chain of Aggregation tables (i.e. there is no "branching" in the computation). In particular, this means that there is a unique first aggregation, and hence unique highest non-aggregation table that it can turn into a DataSource.

Constructors

View Source

SplitMetricsPlan()

Declaration
public SplitMetricsPlan()

Methods

View Source

Transform(MetricsPlan)

Declaration
public (MetricsPlan, MetricsPlan) Transform(MetricsPlan plan)
Parameters
Type Name Description
MetricsPlan plan
Returns
Type Description
ValueTuple<MetricsPlan, MetricsPlan>

Implements

IGenericMetricsPlanTransformer<T>

Extension Methods

ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX