Show / Hide Table of Contents

Class Table

Wrapper for a collection of expressions.

Inheritance
Object
Table
Table<T>
Implements
ICloneable<Table>
IDirectedAcyclicGraph<Table>
IVisitable<ITableVisitor>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Mangrove.MetricSetSyntaxTree
Assembly: MetricSetSyntaxTree.dll
Syntax
public abstract class Table : ICloneable<Table>, IDirectedAcyclicGraph<Table>, IVisitable<ITableVisitor>
Remarks

At a high level, each table corresponds to a separate "SELECT" statement in the script.

Note: never subclass this directly! Use the strongly typed subclass Table<T> instead.

Constructors

View Source

Table(String)

Declaration
public Table(string name)
Parameters
Type Name Description
String name

Properties

View Source

Name

The name of this metric table.

Declaration
public string Name { get; }
Property Value
Type Description
String
View Source

Parents

Ordered list of direct parents of this table.

Declaration
public abstract IReadOnlyList<Table> Parents { get; }
Property Value
Type Description
IReadOnlyList<Table>

Methods

View Source

Accept(ITableVisitor)

Declaration
public abstract void Accept(ITableVisitor visitor)
Parameters
Type Name Description
ITableVisitor visitor
View Source

Clone(IReadOnlyList<Table>)

Declaration
public abstract Table Clone(IReadOnlyList<Table> parents)
Parameters
Type Name Description
IReadOnlyList<Table> parents
Returns
Type Description
Table
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Implements

ICloneable<T>
IDirectedAcyclicGraph<T>
IVisitable<TVisitor>

Extension Methods

IEnumerableExtensions.ClosureIn(Table, MetricsPlan)
TableExtensions.PathTo(Table, Table)
ParsedExtensions.SearchWith<T, R>(T, Func<T, IParsed<R>>)
IDirectedAcyclicGraphExtensions.Ancestors(Table, Boolean)
IDirectedAcyclicGraphExtensions.Closure<T>(T)
IDirectedAcyclicGraphExtensions.DescendantsIn<T>(T, IEnumerable<T>)
IDirectedAcyclicGraphExtensions.TopParentsWith<T>(T, Func<T, Boolean>)
IDirectedAcyclicGraphExtensions.Ordered(Table)
IDirectedAcyclicGraphExtensions.ToPrettyString<T>(T, Int32, Int32)
IDirectedAcyclicGraphExtensions.PathTo<T>(T, T)
IDirectedAcyclicGraphExtensions.AddClosure<T>(T, Stack<T>, Func<T, Boolean>, Action<T>)
IDirectedAcyclicGraphExtensions.OrderedDescendants<T>(T, Func<T, IEnumerable<T>>)
ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX