Class MutableMetricsPlan
Inheritance
MutableMetricsPlan
Assembly: Mangrove.Parsing.dll
Syntax
public class MutableMetricsPlan : ILookupMetricsPlan
Constructors
View Source
MutableMetricsPlan(MetricsPlan, IMetricsPlanValidator)
Declaration
public MutableMetricsPlan(MetricsPlan context, IMetricsPlanValidator validator)
Parameters
Properties
View Source
CurrentTable
Declaration
public IParsed<Table> CurrentTable { get; }
Property Value
Methods
View Source
AddExpression(Expression)
Declaration
public void AddExpression(Expression expr)
Parameters
View Source
AddTable(Table)
Declaration
public void AddTable(Table table)
Parameters
Type |
Name |
Description |
Table |
table |
|
View Source
Context()
Obtain the current "state" (context) of this parser in immutable form.
Declaration
public MetricsPlan Context()
Returns
View Source
GetExpressions()
Declaration
public IReadOnlyList<Expression> GetExpressions()
Returns
View Source
GetTables()
Declaration
public IReadOnlyList<Table> GetTables()
Returns
View Source
LookupDataSource()
Declaration
public IParsed<DataSource> LookupDataSource()
Returns
View Source
LookupExpression(String, String)
Declaration
public IParsed<ColumnReference> LookupExpression(string name, string table)
Parameters
Returns
View Source
LookupOutputTable(String)
Declaration
public IParsed<Aggregation> LookupOutputTable(string _)
Parameters
Type |
Name |
Description |
String |
_ |
|
Returns
View Source
LookupTable(String)
Declaration
public IParsed<Table> LookupTable(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
View Source
Remove(String, String)
Declaration
public bool Remove(string name, string table)
Parameters
Returns
View Source
Replace(String, String, ColumnReference)
Replace the ColumnReference with given name
and table
with replacement
, updating
all descendants of that node.
Declaration
public bool Replace(string name, string table, ColumnReference replacement)
Parameters
Returns
Implements
Extension Methods