public ICollection<EventBean> Lookup(
            EventBean theEvent,
            Cursor cursor,
            ExprEvaluatorContext exprEvaluatorContext)
        {
            InstrumentationCommon instrumentationCommon = exprEvaluatorContext.InstrumentationProvider;
            instrumentationCommon.QIndexJoinLookup(this, eventIndex);

            ISet<EventBean> result = eventIndex.AllValues();
            if (result.IsEmpty()) {
                instrumentationCommon.AIndexJoinLookup(null, null);
                return null;
            }

            instrumentationCommon.AIndexJoinLookup(result, null);
            return result;
        }
        public ICollection <EventBean> Lookup(EventBean theEvent, Cursor cursor, ExprEvaluatorContext exprEvaluatorContext)
        {
            if (InstrumentationHelper.ENABLED)
            {
                InstrumentationHelper.Get().QIndexJoinLookup(this, _eventIndex);
            }
            ISet <EventBean> result = _eventIndex.AllValues();

            if (result.IsEmpty())
            {
                if (InstrumentationHelper.ENABLED)
                {
                    InstrumentationHelper.Get().AIndexJoinLookup(null, null);
                }
                return(null);
            }
            if (InstrumentationHelper.ENABLED)
            {
                InstrumentationHelper.Get().AIndexJoinLookup(result, null);
            }
            return(result);
        }