public class WorksetIterationPlanNode extends DualInputPlanNode implements IterationPlanNode
PlanNode.FeedbackPropertiesMeetRequirementsReport, PlanNode.SourceAndDamReport| 限定符和类型 | 字段和说明 |
|---|---|
Object |
postPassHelper |
input1, input2, keys1, keys2, postPassHelper1, postPassHelper2, sortOrdersbranchPlan, cumulativeCosts, globalProps, localProps, nodeCosts, outChannels, template| 构造器和说明 |
|---|
WorksetIterationPlanNode(WorksetIterationNode template,
String nodeName,
Channel initialSolutionSet,
Channel initialWorkset,
SolutionSetPlanNode solutionSetPlanNode,
WorksetPlanNode worksetPlanNode,
PlanNode nextWorkSetPlanNode,
PlanNode solutionSetDeltaPlanNode) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
acceptForStepFunction(org.apache.flink.util.Visitor<PlanNode> visitor) |
Channel |
getInitialSolutionSetInput() |
Channel |
getInitialWorksetInput() |
WorksetIterationNode |
getIterationNode() |
int |
getMemoryConsumerWeight() |
PlanNode |
getNextWorkSetPlanNode() |
org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> |
getSerializerForIterationChannel() |
org.apache.flink.api.common.typeutils.TypeComparatorFactory<?> |
getSolutionSetComparator() |
PlanNode |
getSolutionSetDeltaPlanNode() |
org.apache.flink.api.common.operators.util.FieldList |
getSolutionSetKeyFields() |
SolutionSetPlanNode |
getSolutionSetPlanNode() |
org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> |
getSolutionSetSerializer() |
WorksetPlanNode |
getWorksetPlanNode() |
org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> |
getWorksetSerializer() |
PlanNode.SourceAndDamReport |
hasDamOnPathDownTo(PlanNode source)
Checks whether this node has a dam on the way down to the given source node.
|
boolean |
isImmediateSolutionSetUpdate() |
protected void |
mergeBranchPlanMaps() |
protected void |
mergeBranchPlanMaps(Map<OptimizerNode,PlanNode> branchPlan1,
Map<OptimizerNode,PlanNode> branchPlan2)
Merging can only take place after the solutionSetDelta and nextWorkset PlanNode has been set,
because they can contain also some of the branching nodes.
|
void |
setCosts(Costs nodeCosts)
Sets the basic cost for this node to the given value, and sets the cumulative costs
to those costs plus the cost shares of all inputs (regular and broadcast).
|
void |
setImmediateSolutionSetUpdate(boolean immediateUpdate) |
void |
setSerializerForIterationChannel(org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> serializerForIterationChannel) |
void |
setSolutionSetComparator(org.apache.flink.api.common.typeutils.TypeComparatorFactory<?> solutionSetComparator) |
void |
setSolutionSetSerializer(org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> solutionSetSerializer) |
void |
setWorksetSerializer(org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> worksetSerializer) |
accept, getComparator1, getComparator2, getInput1, getInput2, getInputs, getKeysForInput1, getKeysForInput2, getPairComparator, getPredecessors, getSortOrders, getTwoInputNode, setComparator1, setComparator2, setPairComparatoraddOutgoingChannel, checkPartialSolutionPropertiesMet, getBranchPlan, getBroadcastInputs, getCandidateAtBranchPoint, getCostWeight, getCumulativeCosts, getCumulativeCostsShare, getDriverStrategy, getDumpableInputs, getGlobalProperties, getGuaranteedAvailableMemory, getLocalProperties, getMinResources, getNodeCosts, getNodeName, getOptimizerNode, getOriginalOptimizerNode, getOutgoingChannels, getParallelism, getPlanNode, getPreferredResources, getProgramOperator, getRelativeMemoryPerSubTask, initProperties, isOnDynamicPath, isPruneMarkerSet, mergeBranchPlanMaps, setBroadcastInputs, setDriverStrategy, setParallelism, setPruningMarker, setRelativeMemoryPerSubtask, toString, updatePropertiesWithUniqueSetspublic Object postPassHelper
public WorksetIterationPlanNode(WorksetIterationNode template, String nodeName, Channel initialSolutionSet, Channel initialWorkset, SolutionSetPlanNode solutionSetPlanNode, WorksetPlanNode worksetPlanNode, PlanNode nextWorkSetPlanNode, PlanNode solutionSetDeltaPlanNode)
public WorksetIterationNode getIterationNode()
getIterationNode 在接口中 IterationPlanNodepublic SolutionSetPlanNode getSolutionSetPlanNode()
public WorksetPlanNode getWorksetPlanNode()
public PlanNode getSolutionSetDeltaPlanNode()
public PlanNode getNextWorkSetPlanNode()
public Channel getInitialSolutionSetInput()
public Channel getInitialWorksetInput()
public void setImmediateSolutionSetUpdate(boolean immediateUpdate)
public boolean isImmediateSolutionSetUpdate()
public org.apache.flink.api.common.operators.util.FieldList getSolutionSetKeyFields()
public org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> getWorksetSerializer()
public void setWorksetSerializer(org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> worksetSerializer)
public org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> getSolutionSetSerializer()
public void setSolutionSetSerializer(org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> solutionSetSerializer)
public org.apache.flink.api.common.typeutils.TypeComparatorFactory<?> getSolutionSetComparator()
public void setSolutionSetComparator(org.apache.flink.api.common.typeutils.TypeComparatorFactory<?> solutionSetComparator)
public void setCosts(Costs nodeCosts)
PlanNodepublic int getMemoryConsumerWeight()
getMemoryConsumerWeight 在类中 PlanNodepublic PlanNode.SourceAndDamReport hasDamOnPathDownTo(PlanNode source)
PlanNodehasDamOnPathDownTo 在类中 DualInputPlanNodesource - The node on the path to which the dam is sought.public void acceptForStepFunction(org.apache.flink.util.Visitor<PlanNode> visitor)
acceptForStepFunction 在接口中 IterationPlanNodeprotected void mergeBranchPlanMaps(Map<OptimizerNode,PlanNode> branchPlan1, Map<OptimizerNode,PlanNode> branchPlan2)
mergeBranchPlanMaps 在类中 PlanNodeprotected void mergeBranchPlanMaps()
public org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> getSerializerForIterationChannel()
public void setSerializerForIterationChannel(org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> serializerForIterationChannel)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.