WorksetNode p = new WorksetNode(holder, containingIterationNode); p.setParallelism(containingIterationNode.getParallelism()); n = p;
@Override public void computeUnclosedBranchStack() { if (this.openBranches != null) { return; } DagConnection worksetInput = this.iterationNode.getSecondIncomingConnection(); OptimizerNode worksetSource = worksetInput.getSource(); addClosedBranches(worksetSource.closedBranchingNodes); List<UnclosedBranchDescriptor> fromInput = worksetSource.getBranchesForParent(worksetInput); this.openBranches = (fromInput == null || fromInput.isEmpty()) ? Collections.<UnclosedBranchDescriptor>emptyList() : fromInput; } }
@Override public void computeOutputEstimates(DataStatistics statistics) { copyEstimates(this.iterationNode.getInitialWorksetPredecessorNode()); }
this.worksetNode.setCandidateProperties(worksetIn.getGlobalProperties(), worksetIn.getLocalProperties(), worksetIn); this.solutionSetNode.setCandidateProperties(this.partitionedProperties, new LocalProperties(), solutionSetIn); final WorksetPlanNode wspn = this.worksetNode.getCurrentWorksetPlanNode();
public void setCandidateProperties(GlobalProperties gProps, LocalProperties lProps, Channel initialInput) { if (this.cachedPlans != null) { throw new IllegalStateException(); } else { WorksetPlanNode wspn = new WorksetPlanNode(this, "Workset ("+this.getOperator().getName()+")", gProps, lProps, initialInput); this.cachedPlans = Collections.<PlanNode>singletonList(wspn); } }
InterestingProperties worksetIntProps = this.worksetNode.getInterestingProperties(); InterestingProperties intProps = new InterestingProperties(); intProps.getGlobalProperties().addAll(worksetIntProps.getGlobalProperties()); final InterestingProperties inProps = this.worksetNode.getInterestingProperties().clone(); inProps.addGlobalProperties(new RequestedGlobalProperties()); inProps.addLocalProperties(new RequestedLocalProperties());
this.worksetNode.setCandidateProperties(worksetIn.getGlobalProperties(), worksetIn.getLocalProperties(), worksetIn); this.solutionSetNode.setCandidateProperties(this.partitionedProperties, new LocalProperties(), solutionSetIn); final WorksetPlanNode wspn = this.worksetNode.getCurrentWorksetPlanNode();
public void setCandidateProperties(GlobalProperties gProps, LocalProperties lProps, Channel initialInput) { if (this.cachedPlans != null) { throw new IllegalStateException(); } else { WorksetPlanNode wspn = new WorksetPlanNode(this, "Workset ("+this.getOperator().getName()+")", gProps, lProps, initialInput); this.cachedPlans = Collections.<PlanNode>singletonList(wspn); } }
InterestingProperties worksetIntProps = this.worksetNode.getInterestingProperties(); InterestingProperties intProps = new InterestingProperties(); intProps.getGlobalProperties().addAll(worksetIntProps.getGlobalProperties()); final InterestingProperties inProps = this.worksetNode.getInterestingProperties().clone(); inProps.addGlobalProperties(new RequestedGlobalProperties()); inProps.addLocalProperties(new RequestedLocalProperties());
this.worksetNode.setCandidateProperties(worksetIn.getGlobalProperties(), worksetIn.getLocalProperties(), worksetIn); this.solutionSetNode.setCandidateProperties(this.partitionedProperties, new LocalProperties(), solutionSetIn); final WorksetPlanNode wspn = this.worksetNode.getCurrentWorksetPlanNode();
WorksetNode p = new WorksetNode(holder, containingIterationNode); p.setParallelism(containingIterationNode.getParallelism()); n = p;
@Override public void computeUnclosedBranchStack() { if (this.openBranches != null) { return; } DagConnection worksetInput = this.iterationNode.getSecondIncomingConnection(); OptimizerNode worksetSource = worksetInput.getSource(); addClosedBranches(worksetSource.closedBranchingNodes); List<UnclosedBranchDescriptor> fromInput = worksetSource.getBranchesForParent(worksetInput); this.openBranches = (fromInput == null || fromInput.isEmpty()) ? Collections.<UnclosedBranchDescriptor>emptyList() : fromInput; } }
public void setCandidateProperties(GlobalProperties gProps, LocalProperties lProps, Channel initialInput) { if (this.cachedPlans != null) { throw new IllegalStateException(); } else { WorksetPlanNode wspn = new WorksetPlanNode(this, "Workset ("+this.getOperator().getName()+")", gProps, lProps, initialInput); this.cachedPlans = Collections.<PlanNode>singletonList(wspn); } }
@Override public void computeOutputEstimates(DataStatistics statistics) { copyEstimates(this.iterationNode.getInitialWorksetPredecessorNode()); }
InterestingProperties worksetIntProps = this.worksetNode.getInterestingProperties(); InterestingProperties intProps = new InterestingProperties(); intProps.getGlobalProperties().addAll(worksetIntProps.getGlobalProperties()); final InterestingProperties inProps = this.worksetNode.getInterestingProperties().clone(); inProps.addGlobalProperties(new RequestedGlobalProperties()); inProps.addLocalProperties(new RequestedLocalProperties());
this.worksetNode.setCandidateProperties(worksetIn.getGlobalProperties(), worksetIn.getLocalProperties(), worksetIn); this.solutionSetNode.setCandidateProperties(this.partitionedProperties, new LocalProperties(), solutionSetIn); final WorksetPlanNode wspn = this.worksetNode.getCurrentWorksetPlanNode();
WorksetNode p = new WorksetNode(holder, containingIterationNode); p.setParallelism(containingIterationNode.getParallelism()); n = p;
@Override public void computeUnclosedBranchStack() { if (this.openBranches != null) { return; } DagConnection worksetInput = this.iterationNode.getSecondIncomingConnection(); OptimizerNode worksetSource = worksetInput.getSource(); addClosedBranches(worksetSource.closedBranchingNodes); List<UnclosedBranchDescriptor> fromInput = worksetSource.getBranchesForParent(worksetInput); this.openBranches = (fromInput == null || fromInput.isEmpty()) ? Collections.<UnclosedBranchDescriptor>emptyList() : fromInput; } }
public void setCandidateProperties(GlobalProperties gProps, LocalProperties lProps, Channel initialInput) { if (this.cachedPlans != null) { throw new IllegalStateException(); } else { WorksetPlanNode wspn = new WorksetPlanNode(this, "Workset ("+this.getOperator().getName()+")", gProps, lProps, initialInput); this.cachedPlans = Collections.<PlanNode>singletonList(wspn); } }
@Override public void computeOutputEstimates(DataStatistics statistics) { copyEstimates(this.iterationNode.getInitialWorksetPredecessorNode()); }