예제 #1
0
        public object Evaluate(EvaluateParams evaluateParams)
        {
            var context = evaluateParams.ExprEvaluatorContext;

            if (InstrumentationHelper.ENABLED)
            {
                InstrumentationHelper.Get().QExprContextProp(this);

                Object result = null;
                if (context.ContextProperties != null)
                {
                    result = _getter.Get(context.ContextProperties);
                }
                InstrumentationHelper.Get().AExprContextProp(result);
                return(result);
            }

            if (context.ContextProperties != null)
            {
                return(_getter.Get(context.ContextProperties));
            }
            return(null);
        }
예제 #2
0
 public object Evaluate(EvaluateParams evaluateParams)
 {
     return(_id);
 }
예제 #3
0
 public object Evaluate(EvaluateParams evaluateParams)
 {
     return(null);
 }
예제 #4
0
 /// <summary>
 /// Evaluate event tuple and return result.
 /// </summary>
 /// <param name="evaluateParams">The evaluate params.</param>
 /// <returns>
 /// evaluation result, a bool value for OR/AND-type evalution nodes.
 /// </returns>
 public object Evaluate(EvaluateParams evaluateParams)
 {
     return(ProcEvaluate.Invoke(evaluateParams));
 }
예제 #5
0
 public object Evaluate(EvaluateParams evaluateParams)
 {
     return(evaluateParams.EventsPerStream[_streamNum].Underlying);
 }
예제 #6
0
 public object Evaluate(EvaluateParams evaluateParams)
 {
     return(_evaluator.Evaluate(evaluateParams));
 }
 public object Evaluate(EvaluateParams evaluateParams)
 {
     return(_enumeration.EvaluateGetROCollectionEvents(evaluateParams));
 }
예제 #8
0
 public object Evaluate(EvaluateParams evaluateParams)
 {
     return(_inner.ExprEvaluator.Evaluate(evaluateParams));
 }
예제 #9
0
 public object Evaluate(EvaluateParams evaluateParams)
 {
     return(_enumeration.EvaluateGetEventBean(evaluateParams));
 }
예제 #10
0
 public object Evaluate(EvaluateParams evaluateParams)
 {
     return(wildcardParameter);
 }
예제 #11
0
 public object Evaluate(EvaluateParams evaluateParams)
 {
     throw new EPException(ReturnType.Name + " cannot be evaluated");
 }