Table of Contents

Class AggregationFunctionCall

Namespace
TimeCockpit.Data.QueryLanguage.Syntax
Assembly
TimeCockpit.Data.dll

AST Node Type representing an aggregation function call.

public class AggregationFunctionCall : Expression
Inheritance
Object
AggregationFunctionCall
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

AggregationFunctionCall(AggregationFunctionCallType, Expression)

Initializes a new instance of the AggregationFunctionCall class.

public AggregationFunctionCall(AggregationFunctionCallType type, Expression parameter)

Parameters

type AggregationFunctionCallType

The type of the aggregation.

parameter Expression

The parameter expression.

Properties

Parameter

Gets the expression of the parameter.

public Expression Parameter { get; }

Property Value

Expression

Type

Gets the type of the aggregation function.

public AggregationFunctionCallType Type { get; }

Property Value

AggregationFunctionCallType

Methods

Accept(Visitor)

Dispatches to the correct VisitQuery(Query) method.

public override Node Accept(Visitor visitor)

Parameters

visitor Visitor

the visitor to dispatch to.

Returns

Node

Returns the value returned by the call to VisitQuery(Query) method.