public class WorksetNode extends AbstractPartialSolutionNode
OptimizerNode.UnclosedBranchDescriptorcachedPlans, closedBranchingNodes, costWeight, estimatedNumRecords, estimatedOutputSize, hereJoinedBranches, id, MAX_DYNAMIC_PATH_COST_WEIGHT, onDynamicPath, openBranches, uniqueFields| Constructor and Description |
|---|
WorksetNode(org.apache.flink.api.common.operators.base.DeltaIterationBase.WorksetPlaceHolder<?> psph,
WorksetIterationNode iterationNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeOutputEstimates(DataStatistics statistics)
Causes this node to compute its output estimates (such as number of rows, size in bytes)
based on the inputs and the compiler hints.
|
void |
computeUnclosedBranchStack()
This method causes the node to compute the description of open branches in its sub-plan.
|
WorksetPlanNode |
getCurrentWorksetPlanNode() |
WorksetIterationNode |
getIterationNode() |
org.apache.flink.api.common.operators.base.DeltaIterationBase.WorksetPlaceHolder<?> |
getOperator()
Gets the contract object for this data source node.
|
String |
getOperatorName()
Gets the name of this node, which is the name of the function/operator, or data source / data
sink.
|
void |
setCandidateProperties(GlobalProperties gProps,
LocalProperties lProps,
Channel initialInput) |
accept, computeInterestingPropertiesForInputs, computeOperatorSpecificDefaultEstimates, copyEstimates, getAlternativePlans, getIncomingConnections, getSemanticProperties, identifyDynamicPath, isOnDynamicPath, readStubAnnotations, setInputaddBroadcastConnection, addClosedBranch, addClosedBranches, addOutgoingConnection, areBranchCompatible, clearInterestingProperties, computeUnclosedBranchStackForBroadcastInputs, computeUnionOfInterestingPropertiesFromSuccessors, getBranchesForParent, getBroadcastConnectionNames, getBroadcastConnections, getClosedBranchingNodes, getCostWeight, getDumpableInputs, getEstimatedAvgWidthPerOutputRecord, getEstimatedNumRecords, getEstimatedOutputSize, getId, getInterestingProperties, getMaxDepth, getMinimalMemoryAcrossAllSubTasks, getOpenBranches, getOptimizerNode, getOutgoingConnections, getParallelism, getPlanNode, getPredecessors, getUniqueFields, hasUnclosedBranches, haveAllOutputConnectionInterestingProperties, initId, isBranching, markAllOutgoingConnectionsAsPipelineBreaking, mergeLists, prunePlanAlternatives, prunePlanAlternativesWithCommonBranching, readUniqueFieldsAnnotation, removeClosedBranches, setBroadcastInputs, setEstimatedNumRecords, setEstimatedOutputSize, setParallelism, toStringpublic WorksetNode(org.apache.flink.api.common.operators.base.DeltaIterationBase.WorksetPlaceHolder<?> psph,
WorksetIterationNode iterationNode)
public void setCandidateProperties(GlobalProperties gProps, LocalProperties lProps, Channel initialInput)
public WorksetPlanNode getCurrentWorksetPlanNode()
public WorksetIterationNode getIterationNode()
getIterationNode in class AbstractPartialSolutionNodepublic void computeOutputEstimates(DataStatistics statistics)
OptimizerNodecomputeOutputEstimates in class OptimizerNodestatistics - The statistics object which may be accessed to get statistical information.
The parameter may be null, if no statistics are available.public org.apache.flink.api.common.operators.base.DeltaIterationBase.WorksetPlaceHolder<?> getOperator()
getOperator in class OptimizerNodepublic String getOperatorName()
OptimizerNodegetOperatorName in class OptimizerNodepublic void computeUnclosedBranchStack()
OptimizerNodeopenBranches
field to a stack of unclosed branches, the latest one top. A branch is considered closed, if
some later node sees all of the branching node's outputs, no matter if there have been more
branches to different paths in the meantime.computeUnclosedBranchStack in class OptimizerNodeCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.