public void SetUp()
        {
            UnindexedEventTable[] indexes = new UnindexedEventTable[4];
            for (int i = 0; i < indexes.Length; i++)
            {
                indexes[i] = new UnindexedEventTableImpl(0);
            }

            _exec = new NestedIterationExecNode(new int[] { 3, 0, 1 });
            _exec.AddChildNode(new TableLookupExecNode(3, new FullTableScanLookupStrategy(indexes[3])));
            _exec.AddChildNode(new TableLookupExecNode(0, new FullTableScanLookupStrategy(indexes[0])));
            _exec.AddChildNode(new TableLookupExecNode(1, new FullTableScanLookupStrategy(indexes[1])));

            _streamEvents    = new EventBean[4][];
            _streamEvents[0] = SupportEventBeanFactory.MakeEvents_A(new String[] { "a1", "a2" });
            _streamEvents[1] = SupportEventBeanFactory.MakeEvents_B(new String[] { "b1", "b2" });
            _streamEvents[2] = SupportEventBeanFactory.MakeEvents_C(new String[] { "c1", "c2" });
            _streamEvents[3] = SupportEventBeanFactory.MakeEvents_D(new String[] { "d1", "d2" });

            // Fill with data
            indexes[0].Add(_streamEvents[0]);
            indexes[1].Add(_streamEvents[1]);
            indexes[2].Add(_streamEvents[2]);
            indexes[3].Add(_streamEvents[3]);
        }
Exemple #2
0
 public void SetUp()
 {
     for (var i = 0; i < _lists.Length; i++)
     {
         _lists[i] = new UnindexedEventTableImpl(0);
     }
 }
 public void SetUp()
 {
     _cache = new DataCacheLRUImpl(3);
     for (int i = 0; i < _lists.Length; i++)
     {
         _lists[i] = new UnindexedEventTableImpl(0);
     }
 }
        public void SetUp()
        {
            _container = SupportContainer.Reset();

            for (var i = 0; i < _lists.Length; i++)
            {
                _lists[i] = new UnindexedEventTableImpl(0);
            }
        }