Exemplo n.º 1
0
 public UniformPair<EventBean[]> OutputJoin(bool isSynthesize)
 {
     var pair = processor.ProcessJoinResult(
         EventBeanUtility.ToLinkedHashSetNullIfEmpty(eventsNewJoin),
         EventBeanUtility.ToLinkedHashSetNullIfEmpty(eventsOldJoin),
         isSynthesize);
     eventsNewJoin.Clear();
     eventsOldJoin.Clear();
     return pair;
 }
        public UniformPair<EventBean[]> OutputJoin(bool isSynthesize)
        {
            if (outputLastIStreamBufJoin == null && outputLastRStreamBufJoin == null) {
                return null;
            }

            var pair = processor.ProcessJoinResult(
                EventBeanUtility.ToSingletonSetIfNotNull(outputLastIStreamBufJoin),
                EventBeanUtility.ToSingletonSetIfNotNull(outputLastRStreamBufJoin),
                isSynthesize);
            outputLastIStreamBufJoin = null;
            outputLastRStreamBufJoin = null;
            return pair;
        }