Ejemplo n.º 1
0
 public static ExprEvaluator GetMethodAggregationEvaluatorCountBy(ExprNode[] childNodes, Boolean join, EventType[] typesPerStream)
 {
     if (childNodes[0] is ExprWildcard && childNodes.Length == 2)
     {
         return(ExprMethodAggUtil.GetDefaultEvaluator(new ExprNode[] { childNodes[1] }, join, typesPerStream));
     }
     if (childNodes[0] is ExprWildcard && childNodes.Length == 1)
     {
         return(ExprMethodAggUtil.GetDefaultEvaluator(new ExprNode[0], join, typesPerStream));
     }
     return(ExprMethodAggUtil.GetDefaultEvaluator(childNodes, join, typesPerStream));
 }
Ejemplo n.º 2
0
 public ExprEvaluator GetMethodAggregationEvaluator(Boolean join, EventType[] typesPerStream)
 {
     return(ExprMethodAggUtil.GetDefaultEvaluator(_parent.PositionalParams, join, typesPerStream));
 }