Interface ITableVisitor
This interface gives the "visitor pattern" that must be implemented to define mappings on metric tables.
Namespace: Mangrove.MetricSetSyntaxTree
Assembly: MetricSetSyntaxTree.dll
Syntax
public interface ITableVisitor
Methods
View SourceVisit(Aggregation)
Visit a metric table which is an aggregation from another table.
Declaration
void Visit(Aggregation table)
Parameters
| Type | Name | Description |
|---|---|---|
| Aggregation | table |
Visit(DataSource)
Visit a metric table which draws directly from a data source.
Declaration
void Visit(DataSource table)
Parameters
| Type | Name | Description |
|---|---|---|
| DataSource | table |
Visit(ExternTable)
Visit a metric table which does computations specific to one compute fabric.
Declaration
void Visit(ExternTable table)
Parameters
| Type | Name | Description |
|---|---|---|
| ExternTable | table |
Visit(Join)
Visit a metric table which is a join of some other tables.
Declaration
void Visit(Join table)
Parameters
| Type | Name | Description |
|---|---|---|
| Join | table |
Visit(TableReference)
Visit a metric table which is a reference for another table.
Declaration
void Visit(TableReference table)
Parameters
| Type | Name | Description |
|---|---|---|
| TableReference | table |
Visit(Union)
Visit a metric table which is a union of some other tables.
Declaration
void Visit(Union table)
Parameters
| Type | Name | Description |
|---|---|---|
| Union | table |