public object Evaluate(object target, EvaluateParams evaluateParams)
        {
            var startTimestamp = _getterStartTimestamp.Get((EventBean)target);

            if (startTimestamp == null)
            {
                return(null);
            }
            var endTimestamp = _getterEndTimestamp.Get((EventBean)target);

            if (endTimestamp == null)
            {
                return(null);
            }

            return(_inner.Evaluate(startTimestamp, endTimestamp, evaluateParams));
        }
Exemplo n.º 2
0
        public object Evaluate(
            object target,
            EventBean[] eventsPerStream,
            bool isNewData,
            ExprEvaluatorContext exprEvaluatorContext)
        {
            var start = getterStartTimestamp.Get((EventBean) target);
            if (start == null) {
                return null;
            }

            var end = getterEndTimestamp.Get((EventBean) target);
            if (end == null) {
                return null;
            }

            return inner.Evaluate(start, end, eventsPerStream, isNewData, exprEvaluatorContext);
        }
Exemplo n.º 3
0
            public Object Evaluate(
                Object target,
                EventBean[] eventsPerStream,
                bool isNewData,
                ExprEvaluatorContext exprEvaluatorContext)
            {
                var startTimestamp = _getterStartTimestamp.Get((EventBean)target);

                if (startTimestamp == null)
                {
                    return(null);
                }
                var endTimestamp = _getterEndTimestamp.Get((EventBean)target);

                if (endTimestamp == null)
                {
                    return(null);
                }
                return(_inner.Evaluate(startTimestamp, endTimestamp, eventsPerStream, isNewData, exprEvaluatorContext));
            }