Package eu.stratosphere.compiler.dag.WorksetIterationNode

Examples of eu.stratosphere.compiler.dag.WorksetIterationNode.SingleRootJoiner


      this.singleRoot = nextPartialSolution;
      this.rootConnection = new PactConnection(nextPartialSolution);
    }
    else {
      // we have a termination criterion
      SingleRootJoiner singleRootJoiner = new SingleRootJoiner();
      this.rootConnection = new PactConnection(nextPartialSolution, singleRootJoiner);
      this.terminationCriterionRootConnection = new PactConnection(terminationCriterion, singleRootJoiner);
      singleRootJoiner.setInputs(this.rootConnection, this.terminationCriterionRootConnection);
     
      this.singleRoot = singleRootJoiner;
     
      // add connection to terminationCriterion for interesting properties visitor
      terminationCriterion.addOutgoingConnection(terminationCriterionRootConnection);
View Full Code Here


      }
    }
    else if(candidates.size() > 0) {
      List<PlanNode> terminationCriterionCandidates = this.terminationCriterion.getAlternativePlans(estimator);

      SingleRootJoiner singleRoot = (SingleRootJoiner) this.singleRoot;
     
      for (PlanNode candidate : candidates) {
        for(PlanNode terminationCandidate : terminationCriterionCandidates) {
          if (singleRoot.areBranchCompatible(candidate, terminationCandidate)) {
            BulkIterationPlanNode node = new BulkIterationPlanNode(this, "BulkIteration ("+this.getPactContract().getName()+")", in, pspn, candidate, terminationCandidate);
            GlobalProperties gProps = candidate.getGlobalProperties().clone();
            LocalProperties lProps = candidate.getLocalProperties().clone();
            node.initProperties(gProps, lProps);
            target.add(node);
View Full Code Here

TOP

Related Classes of eu.stratosphere.compiler.dag.WorksetIterationNode.SingleRootJoiner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.