org.apache.flink.optimizer.dag.SolutionSetNode Java Examples
The following examples show how to use
org.apache.flink.optimizer.dag.SolutionSetNode.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SolutionSetPlanNode.java From Flink-CEPplus with Apache License 2.0 | 6 votes |
public SolutionSetPlanNode(SolutionSetNode template, String nodeName, GlobalProperties gProps, LocalProperties lProps, Channel initialInput) { super(template, nodeName, DriverStrategy.NONE); this.globalProps = gProps; this.localProps = lProps; this.initialInput = initialInput; // the node incurs no cost this.nodeCosts = NO_COSTS; this.cumulativeCosts = NO_COSTS; if (initialInput.getSource().branchPlan != null && initialInput.getSource().branchPlan.size() > 0) { if (this.branchPlan == null) { this.branchPlan = new HashMap<OptimizerNode, PlanNode>(); } this.branchPlan.putAll(initialInput.getSource().branchPlan); } }
Example #2
Source File: SolutionSetPlanNode.java From flink with Apache License 2.0 | 6 votes |
public SolutionSetPlanNode(SolutionSetNode template, String nodeName, GlobalProperties gProps, LocalProperties lProps, Channel initialInput) { super(template, nodeName, DriverStrategy.NONE); this.globalProps = gProps; this.localProps = lProps; this.initialInput = initialInput; // the node incurs no cost this.nodeCosts = NO_COSTS; this.cumulativeCosts = NO_COSTS; if (initialInput.getSource().branchPlan != null && initialInput.getSource().branchPlan.size() > 0) { if (this.branchPlan == null) { this.branchPlan = new HashMap<OptimizerNode, PlanNode>(); } this.branchPlan.putAll(initialInput.getSource().branchPlan); } }
Example #3
Source File: SolutionSetPlanNode.java From flink with Apache License 2.0 | 6 votes |
public SolutionSetPlanNode(SolutionSetNode template, String nodeName, GlobalProperties gProps, LocalProperties lProps, Channel initialInput) { super(template, nodeName, DriverStrategy.NONE); this.globalProps = gProps; this.localProps = lProps; this.initialInput = initialInput; // the node incurs no cost this.nodeCosts = NO_COSTS; this.cumulativeCosts = NO_COSTS; if (initialInput.getSource().branchPlan != null && initialInput.getSource().branchPlan.size() > 0) { if (this.branchPlan == null) { this.branchPlan = new HashMap<OptimizerNode, PlanNode>(); } this.branchPlan.putAll(initialInput.getSource().branchPlan); } }
Example #4
Source File: SolutionSetPlanNode.java From Flink-CEPplus with Apache License 2.0 | 4 votes |
public SolutionSetNode getSolutionSetNode() { return (SolutionSetNode) this.template; }
Example #5
Source File: SolutionSetPlanNode.java From flink with Apache License 2.0 | 4 votes |
public SolutionSetNode getSolutionSetNode() { return (SolutionSetNode) this.template; }
Example #6
Source File: SolutionSetPlanNode.java From flink with Apache License 2.0 | 4 votes |
public SolutionSetNode getSolutionSetNode() { return (SolutionSetNode) this.template; }