org.apache.flink.optimizer.plan.WorksetPlanNode Java Examples

The following examples show how to use org.apache.flink.optimizer.plan.WorksetPlanNode. 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: WorksetNode.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
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);
	}
}
 
Example #2
Source File: WorksetNode.java    From Flink-CEPplus with Apache License 2.0 5 votes vote down vote up
public WorksetPlanNode getCurrentWorksetPlanNode() {
	if (this.cachedPlans != null) {
		return (WorksetPlanNode) this.cachedPlans.get(0);
	} else {
		throw new IllegalStateException();
	}
}
 
Example #3
Source File: WorksetNode.java    From flink with Apache License 2.0 5 votes vote down vote up
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);
	}
}
 
Example #4
Source File: WorksetNode.java    From flink with Apache License 2.0 5 votes vote down vote up
public WorksetPlanNode getCurrentWorksetPlanNode() {
	if (this.cachedPlans != null) {
		return (WorksetPlanNode) this.cachedPlans.get(0);
	} else {
		throw new IllegalStateException();
	}
}
 
Example #5
Source File: WorksetNode.java    From flink with Apache License 2.0 5 votes vote down vote up
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);
	}
}
 
Example #6
Source File: WorksetNode.java    From flink with Apache License 2.0 5 votes vote down vote up
public WorksetPlanNode getCurrentWorksetPlanNode() {
	if (this.cachedPlans != null) {
		return (WorksetPlanNode) this.cachedPlans.get(0);
	} else {
		throw new IllegalStateException();
	}
}