Esempio n. 1
0
 private void Reconstruct(StreamingContext context)
 {
     this.container = new ContainerWithFlag();
     foreach (GraphViewExecutionOperator traversal in this.traversalList)
     {
         EnumeratorOperator enumeratorOp = traversal.GetFirstOperator() as EnumeratorOperator;
         enumeratorOp.SetContainer(this.container);
     }
 }
Esempio n. 2
0
        public CoalesceOperator(GraphViewExecutionOperator inputOp, ContainerWithFlag container)
        {
            this.inputOp       = inputOp;
            this.container     = container;
            this.traversalList = new List <GraphViewExecutionOperator>();
            this.outputBuffer  = new SortedDictionary <int, Queue <RawRecord> >();

            this.batchSize = KW_DEFAULT_BATCH_SIZE;
            this.Open();
        }