org.apache.flink.optimizer.dag.WorksetIterationNode Java Examples

The following examples show how to use org.apache.flink.optimizer.dag.WorksetIterationNode. 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: WorksetIterationPlanNode.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
public WorksetIterationPlanNode(WorksetIterationNode template, String nodeName, Channel initialSolutionSet, Channel initialWorkset,
		SolutionSetPlanNode solutionSetPlanNode, WorksetPlanNode worksetPlanNode,
		PlanNode nextWorkSetPlanNode, PlanNode solutionSetDeltaPlanNode)
{
	super(template, nodeName, initialSolutionSet, initialWorkset, DriverStrategy.BINARY_NO_OP);
	this.solutionSetPlanNode = solutionSetPlanNode;
	this.worksetPlanNode = worksetPlanNode;
	this.solutionSetDeltaPlanNode = solutionSetDeltaPlanNode;
	this.nextWorkSetPlanNode = nextWorkSetPlanNode;
	
	mergeBranchPlanMaps();

}
 
Example #2
Source File: WorksetIterationPlanNode.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
public WorksetIterationNode getIterationNode() {
	if (this.template instanceof WorksetIterationNode) {
		return (WorksetIterationNode) this.template;
	} else {
		throw new RuntimeException();
	}
}
 
Example #3
Source File: WorksetIterationPlanNode.java    From flink with Apache License 2.0 5 votes vote down vote up
public WorksetIterationPlanNode(WorksetIterationNode template, String nodeName, Channel initialSolutionSet, Channel initialWorkset,
		SolutionSetPlanNode solutionSetPlanNode, WorksetPlanNode worksetPlanNode,
		PlanNode nextWorkSetPlanNode, PlanNode solutionSetDeltaPlanNode)
{
	super(template, nodeName, initialSolutionSet, initialWorkset, DriverStrategy.BINARY_NO_OP);
	this.solutionSetPlanNode = solutionSetPlanNode;
	this.worksetPlanNode = worksetPlanNode;
	this.solutionSetDeltaPlanNode = solutionSetDeltaPlanNode;
	this.nextWorkSetPlanNode = nextWorkSetPlanNode;
	
	mergeBranchPlanMaps();

}
 
Example #4
Source File: WorksetIterationPlanNode.java    From flink with Apache License 2.0 5 votes vote down vote up
public WorksetIterationNode getIterationNode() {
	if (this.template instanceof WorksetIterationNode) {
		return (WorksetIterationNode) this.template;
	} else {
		throw new RuntimeException();
	}
}
 
Example #5
Source File: WorksetIterationPlanNode.java    From flink with Apache License 2.0 5 votes vote down vote up
public WorksetIterationPlanNode(WorksetIterationNode template, String nodeName, Channel initialSolutionSet, Channel initialWorkset,
		SolutionSetPlanNode solutionSetPlanNode, WorksetPlanNode worksetPlanNode,
		PlanNode nextWorkSetPlanNode, PlanNode solutionSetDeltaPlanNode)
{
	super(template, nodeName, initialSolutionSet, initialWorkset, DriverStrategy.BINARY_NO_OP);
	this.solutionSetPlanNode = solutionSetPlanNode;
	this.worksetPlanNode = worksetPlanNode;
	this.solutionSetDeltaPlanNode = solutionSetDeltaPlanNode;
	this.nextWorkSetPlanNode = nextWorkSetPlanNode;
	
	mergeBranchPlanMaps();

}
 
Example #6
Source File: WorksetIterationPlanNode.java    From flink with Apache License 2.0 5 votes vote down vote up
public WorksetIterationNode getIterationNode() {
	if (this.template instanceof WorksetIterationNode) {
		return (WorksetIterationNode) this.template;
	} else {
		throw new RuntimeException();
	}
}