Exemplo n.º 1
0
        public ICollection <object> EvaluateGetROCollectionScalar(EventBean[] eventsPerStream, bool isNewData, ExprEvaluatorContext context)
        {
            AggregationState state = GetState(eventsPerStream);

            if (state == null)
            {
                return(null);
            }
            return(_accessor.GetEnumerableScalar(state, eventsPerStream, isNewData, context));
        }
Exemplo n.º 2
0
        public ICollection <object> EvaluateGetROCollectionScalar(EvaluateParams evaluateParams)
        {
            AggregationState state = GetState(evaluateParams.EventsPerStream);

            if (state == null)
            {
                return(null);
            }
            return(_accessor.GetEnumerableScalar(state, evaluateParams));
        }
Exemplo n.º 3
0
        public ICollection <object> EvaluateGetROCollectionScalar(EventBean[] eventsPerStream, bool isNewData, ExprEvaluatorContext context)
        {
            ObjectArrayBackedEventBean @event = LockTableReadAndGet(context);

            if (@event == null)
            {
                return(null);
            }
            AggregationState aggregationState = GetAndLock(@event, context);

            return(_accessor.GetEnumerableScalar(aggregationState, eventsPerStream, isNewData, context));
        }