[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Represents the avg(...) aggregate function is an expression tree.

The following tables list the members exposed by the ExprAvgNode type.

Public Methods

  NameDescription
Accept
Accept the visitor. The visitor will first visit the parent then visit all child nodes, then their child nodes. The visitor can decide to skip child nodes by returning false in isVisit.
(Inherited from ExprNode.)
AddChildNode
Adds a child node.
(Inherited from ExprNode.)
DumpDebug
Recursively print out all nodes.
(Inherited from ExprNode.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EqualsNode
Return true if a expression node semantically equals the current node, or false if not. Concrete implementations should compare the type and any additional information that impact the evaluation of a node.
(Inherited from ExprAggregateNode.)
EqualsNodeAggregate
Return true if a expression aggregate node semantically equals the current node, or false if not. For use by the EqualsNode implementation which compares the distinct flag.
(Overrides .EqualsNodeAggregate(ExprAggregateNode).)
Evaluate
Evaluates the specified events.
(Inherited from ExprAggregateNode.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetValidatedSubtree
Validates the expression node subtree that has this node as root. Some of the nodes of the tree, including the root, might be replaced in the process.
(Inherited from ExprNode.)
SetAggregationResultFuture
Assigns to the node the future which can be queried for the current aggregation state at evaluation time.
(Inherited from ExprAggregateNode.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Validate
Validate node.
(Overrides .Validate(StreamTypeService, AutoImportService).)

Protected Methods

  NameDescription
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ValidateSingleNumericChild
For use by implementing classes, validates the aggregation node expecting a single numeric-type child node.
(Inherited from ExprAggregateNode.)

Protected Fields

  NameDescription
isDistinct
Indicator for whether the aggregation is distinct - i.e. only unique values are considered.
(Inherited from ExprAggregateNode.)

Public Constructors

  NameDescription
ExprAvgNodeNew
Ctor.

Public Properties

  NameDescription
AggregationFunction
Returns the aggregation state prototype for use in grouping aggregation states per group-by keys.
(Overrides .AggregationFunction.)
ChildNodes
Returns list of child nodes.
(Inherited from ExprNode.)
ExpressionString
Renders the aggregation function expression.
(Inherited from ExprAggregateNode.)
IsDistinct
Returns true if the aggregation node is only aggregatig distinct values, or false if aggregating all values.
(Inherited from ExprAggregateNode.)
PrototypeAggregator
Returns the aggregation state prototype for use in grouping aggregation states per group-by keys.
(Inherited from ExprAggregateNode.)
ReturnType
Returns the type that the node's evaluate method returns an instance of.
(Overrides .ReturnType.)

Protected Properties

  NameDescription
AggregationFunctionName
Returns the aggregation function name for representation in a generate expression string.
(Overrides .AggregationFunctionName.)