public object Evaluate(
     EventBean[] eventsPerStream,
     bool isNewData,
     ExprEvaluatorContext exprEvaluatorContext)
 {
     return rootLambdaEvaluator.EvaluateGetROCollectionScalar(eventsPerStream, isNewData, exprEvaluatorContext);
 }
Ejemplo n.º 2
0
 public ICollection<object> EvaluateGetROCollectionScalar(
     EventBean[] eventsPerStream,
     bool isNewData,
     ExprEvaluatorContext context)
 {
     InitInnerEvaluatorLambda();
     eventsPerStream = GetEventsPerStreamRewritten(eventsPerStream);
     return innerEvaluatorLambdaLazy.EvaluateGetROCollectionScalar(eventsPerStream, isNewData, context);
 }
Ejemplo n.º 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>());
     }
 }
Ejemplo n.º 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);
        }
Ejemplo n.º 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>());
            }
        }