Show / Hide Table of Contents

Class DataSourceColumn

Expression which is a column from a data source.

Inheritance
Object
Expression
Expression<DataSourceColumn, DataSource>
DataSourceColumn
Implements
IVisitable<IExpressionVisitor>
ICloneable<DataSourceColumn, DataSource, Expression>
ICloneable<Expression>
IDirectedAcyclicGraph<Expression>
Inherited Members
Expression<DataSourceColumn, DataSource>.Table
Expression<DataSourceColumn, DataSource>.Clone(DataSource, IReadOnlyList<Expression>)
Expression<DataSourceColumn, DataSource>.Clone(IReadOnlyList<Expression>)
Expression.Table
Expression.Clone(IReadOnlyList<Expression>)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Mangrove.MetricSetSyntaxTree.ExpressionNodes
Assembly: MetricSetSyntaxTree.dll
Syntax
public class DataSourceColumn : Expression<DataSourceColumn, DataSource>, IVisitable<IExpressionVisitor>, ICloneable<DataSourceColumn, DataSource, Expression>, ICloneable<Expression>, IDirectedAcyclicGraph<Expression>

Constructors

View Source

DataSourceColumn(DataSource, TypeKind, String, Nullable<Int32>)

Declaration
public DataSourceColumn(DataSource table, TypeKind type, string columnName, int? index = default(int? ))
Parameters
Type Name Description
DataSource table
TypeKind type
String columnName
Nullable<Int32> index

Properties

View Source

ColumnName

The name of the underlying column.

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

Index

Order DataSourceColumn objects from first to last (low to high index) within a specific DataSource. Null if no order is given.

Declaration
public int? Index { get; }
Property Value
Type Description
Nullable<Int32>
View Source

Parents

Declaration
[JsonIgnore]
public override IReadOnlyList<Expression> Parents { get; }
Property Value
Type Description
IReadOnlyList<Expression>
Overrides
Expression.Parents
View Source

Type

The type of this data source column.

Declaration
public TypeKind Type { get; }
Property Value
Type Description
TypeKind

Methods

View Source

Accept(IExpressionVisitor)

Declaration
public override void Accept(IExpressionVisitor visitor)
Parameters
Type Name Description
IExpressionVisitor visitor
Overrides
Expression.Accept(IExpressionVisitor)
View Source

Clone(DataSource, IReadOnlyList<Expression>)

Declaration
public override DataSourceColumn Clone(DataSource table, IReadOnlyList<Expression> parents)
Parameters
Type Name Description
DataSource table
IReadOnlyList<Expression> parents
Returns
Type Description
DataSourceColumn
Overrides
Mangrove.MetricSetSyntaxTree.Expression<Mangrove.MetricSetSyntaxTree.ExpressionNodes.DataSourceColumn, Mangrove.MetricSetSyntaxTree.TableNodes.DataSource>.Clone(Mangrove.MetricSetSyntaxTree.TableNodes.DataSource, System.Collections.Generic.IReadOnlyList<Mangrove.MetricSetSyntaxTree.Expression>)
View Source

ToString()

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

Implements

IVisitable<TVisitor>
ICloneable<TSubnode, TIdentifier, TNode>
ICloneable<T>
IDirectedAcyclicGraph<T>

Extension Methods

ExpressionExtensions.WrapUniqueName(Expression, String)
ExpressionExtensions.WrapName(Expression, String)
ExpressionExtensions.Unwrap(Expression, Boolean)
ExpressionExtensions.UnwrapParentheses(Expression)
ExpressionExtensions.NeedsColumnReferenceWrap(Expression)
ExpressionExtensions.TopParentsOfType<TParent>(Expression)
ExpressionExtensions.References(Expression, ISet<Table>)
ExpressionExtensions.IsAggregation(Expression)
ExpressionExtensions.IsOperation(Expression)
ExpressionExtensions.IsConstant(Expression)
ExpressionExtensions.Type(Expression)
ExpressionExtensions.IsOfNullableType(Expression)
ExpressionExtensions.IsOfNonNullableType(Expression)
IDirectedAcyclicGraphExtensions.Ancestors(Expression, Boolean)
IDirectedAcyclicGraphExtensions.Closure(Expression)
ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX