public void Join(EventBean[][] newDataPerStream, EventBean[][] oldDataPerStream)
        {
            if (InstrumentationHelper.ENABLED)
            {
                InstrumentationHelper.Get().QJoinExexStrategy();
            }
            var joinSet = _composer.Join(newDataPerStream, oldDataPerStream, _staticExprEvaluatorContext);

            if (InstrumentationHelper.ENABLED)
            {
                InstrumentationHelper.Get().AJoinExecStrategy(joinSet);
            }

            _filter.Process(joinSet.First, joinSet.Second, _staticExprEvaluatorContext);

            if ((!joinSet.First.IsEmpty()) || (!joinSet.Second.IsEmpty()))
            {
                if (InstrumentationHelper.ENABLED)
                {
                    InstrumentationHelper.Get().QJoinExecProcess(joinSet);
                }
                _indicator.Process(joinSet.First, joinSet.Second, _staticExprEvaluatorContext);
                if (InstrumentationHelper.ENABLED)
                {
                    InstrumentationHelper.Get().AJoinExecProcess();
                }
            }
        }
Example #2
0
        public void Join(
            EventBean[][] newDataPerStream,
            EventBean[][] oldDataPerStream)
        {
            var instrumentationCommon = staticExprEvaluatorContext.InstrumentationProvider;
            instrumentationCommon.QJoinExecStrategy();

            var joinSet = composer.Join(newDataPerStream, oldDataPerStream, staticExprEvaluatorContext);

            instrumentationCommon.AJoinExecStrategy(joinSet);

            if (optionalFilter != null) {
                instrumentationCommon.QJoinExecFilter();
                ProcessFilter(joinSet.First, joinSet.Second, staticExprEvaluatorContext);
                instrumentationCommon.AJoinExecFilter(joinSet.First, joinSet.Second);
            }

            if (!joinSet.First.IsEmpty() || !joinSet.Second.IsEmpty()) {
                instrumentationCommon.QJoinExecProcess(joinSet);
                indicator.Process(joinSet.First, joinSet.Second, staticExprEvaluatorContext);
                instrumentationCommon.AJoinExecProcess();
            }
        }