Class ChangeTables
Base ITableVisitor which handles the logic of "check if any parents
have changed and replace the table accordingly", and lets you provide only the
simple logic of: "replace a table of type T with ...".
Assembly: MetricSetTransformers.dll
public class ChangeTables : ChangeDag<Table, string, ITableVisitor>, IGenericTableVisitor<IDictionary<Table, Table>>, ITableVisitor, IGenericVisitor<IDictionary<Table, Table>>
Properties
View Source
Declaration
public IDictionary<Table, Table> Result { get; }
Property Value
Methods
View Source
Declaration
protected virtual Table Change(Aggregation table)
Parameters
Returns
View Source
Declaration
protected virtual Table Change(DataSource table)
Parameters
Returns
View Source
Declaration
protected virtual Table Change(ExternTable table)
Parameters
Returns
View Source
Declaration
protected virtual Table Change(Join table)
Parameters
Type |
Name |
Description |
Join |
table |
|
Returns
View Source
Declaration
protected virtual Table Change(TableReference table)
Parameters
Returns
View Source
Declaration
protected virtual Table Change(Union table)
Parameters
Type |
Name |
Description |
Union |
table |
|
Returns
View Source
Declaration
protected override string Identifier(Table node)
Parameters
Type |
Name |
Description |
Table |
node |
|
Returns
Overrides
Mangrove.MetricSetTransformers.Utilities.ChangeDag<Mangrove.MetricSetSyntaxTree.Table, System.String, Mangrove.MetricSetSyntaxTree.ITableVisitor>.Identifier(Mangrove.MetricSetSyntaxTree.Table)
View Source
Declaration
public virtual void Visit(Aggregation table)
Parameters
View Source
Declaration
public virtual void Visit(DataSource table)
Parameters
View Source
Declaration
public virtual void Visit(ExternTable table)
Parameters
View Source
Declaration
public virtual void Visit(Join table)
Parameters
Type |
Name |
Description |
Join |
table |
|
View Source
Declaration
public virtual void Visit(TableReference table)
Parameters
View Source
Declaration
public virtual void Visit(Union table)
Parameters
Type |
Name |
Description |
Union |
table |
|
Implements
Extension Methods