public object Evaluate(
     EventBean[] eventsPerStream,
     bool isNewData,
     ExprEvaluatorContext exprEvaluatorContext)
 {
     return rootLambdaEvaluator.EvaluateGetROCollectionScalar(eventsPerStream, isNewData, exprEvaluatorContext);
 }
예제 #2
0
 public ICollection<object> EvaluateGetROCollectionScalar(
     EventBean[] eventsPerStream,
     bool isNewData,
     ExprEvaluatorContext context)
 {
     InitInnerEvaluatorLambda();
     eventsPerStream = GetEventsPerStreamRewritten(eventsPerStream);
     return innerEvaluatorLambdaLazy.EvaluateGetROCollectionScalar(eventsPerStream, isNewData, context);
 }
예제 #3
0
 public object EvaluateEnumMethod(
     EventBean[] eventsLambda,
     ICollection<object> enumcoll,
     bool isNewData,
     ExprEvaluatorContext context)
 {
     if (_forge.scalar) {
         var other = _evaluator.EvaluateGetROCollectionScalar(eventsLambda, isNewData, context);
         return EnumIntersectForgeEvalSet(other, enumcoll);
     }
     else {
         var other = _evaluator.EvaluateGetROCollectionEvents(eventsLambda, isNewData, context);
         return EnumIntersectForgeEvalSet(other, enumcoll.Unwrap<EventBean>());
     }
 }
예제 #4
0
        public object EvaluateEnumMethod(
            EventBean[] eventsLambda,
            ICollection<object> enumcoll,
            bool isNewData,
            ExprEvaluatorContext context)
        {
            if (_forge.scalar) {
                return EvaluateEnumMethodInternal(
                    _evaluator.EvaluateGetROCollectionScalar(eventsLambda, isNewData, context),
                    enumcoll);
            }

            return EvaluateEnumMethodInternal(
                _evaluator.EvaluateGetROCollectionEvents(eventsLambda, isNewData, context),
                enumcoll);
        }
예제 #5
0
        public object EvaluateEnumMethod(
            EventBean[] eventsLambda,
            ICollection<object> enumcoll,
            bool isNewData,
            ExprEvaluatorContext context)
        {
            if (enumcoll == null) {
                return null;
            }

            if (_forge.scalar) {
                var set = _evaluator.EvaluateGetROCollectionScalar(eventsLambda, isNewData, context);
                return EnumExceptForgeEvalSet(set, enumcoll);
            }
            else {
                var set = _evaluator.EvaluateGetROCollectionEvents(eventsLambda, isNewData, context);
                return EnumExceptForgeEvalSet(set, enumcoll.Unwrap<EventBean>());
            }
        }