Click or drag to resize

AvgProjectionExpression Class

Average of the (distinct) values returned by an expression.

Expects a single child expression providing the values to aggregate.

Inheritance Hierarchy
SystemObject
  com.espertech.esper.common.client.sodaExpressionBase
    com.espertech.esper.common.client.sodaAvgProjectionExpression

Namespace:  com.espertech.esper.common.client.soda
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
[SerializableAttribute]
public class AvgProjectionExpression : ExpressionBase

The AvgProjectionExpression type exposes the following members.

Constructors
  NameDescription
Public methodAvgProjectionExpression
Ctor.
Public methodAvgProjectionExpression(Boolean)
Ctor - for use to create an expression tree, without inner expression
Public methodAvgProjectionExpression(Expression, Boolean)
Ctor - adds the expression to project.
Top
Properties
  NameDescription
Public propertyChildren
Returns the list of sub-expressions to the current expression.
(Inherited from ExpressionBase.)
Public propertyDistinct
Returns true if the projection considers distinct values only.
Public propertyIsDistinct
Returns true if the projection considers distinct values only.
Public propertyPrecedence (Overrides ExpressionBasePrecedence.)
Public propertyTreeObjectName (Inherited from ExpressionBase.)
Top
Methods
  NameDescription
Public methodAddChild
Adds a new child expression to the current expression.
(Inherited from ExpressionBase.)
Public methodToEPL (Inherited from ExpressionBase.)
Public methodToPrecedenceFreeEPL (Overrides ExpressionBaseToPrecedenceFreeEPL(TextWriter).)
Top
See Also