public class SourcePlanNode extends PlanNode
PlanNode.FeedbackPropertiesMeetRequirementsReport, PlanNode.SourceAndDamReportbranchPlan, cumulativeCosts, globalProps, localProps, nodeCosts, outChannels, template| Constructor and Description |
|---|
SourcePlanNode(DataSourceNode template,
String nodeName)
Constructs a new source candidate node that uses NONE as its local strategy.
|
SourcePlanNode(DataSourceNode template,
String nodeName,
GlobalProperties gprops,
LocalProperties lprops) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.apache.flink.util.Visitor<PlanNode> visitor) |
DataSourceNode |
getDataSourceNode() |
Iterable<Channel> |
getInputs() |
Iterable<PlanNode> |
getPredecessors()
Gets an iterator over the predecessors.
|
org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> |
getSerializer()
Gets the serializer from this PlanNode.
|
PlanNode.SourceAndDamReport |
hasDamOnPathDownTo(PlanNode source)
Checks whether this node has a dam on the way down to the given source node.
|
void |
setSerializer(org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> serializer)
Sets the serializer for this PlanNode.
|
addOutgoingChannel, checkPartialSolutionPropertiesMet, getBranchPlan, getBroadcastInputs, getCandidateAtBranchPoint, getCostWeight, getCumulativeCosts, getCumulativeCostsShare, getDriverStrategy, getDumpableInputs, getGlobalProperties, getGuaranteedAvailableMemory, getLocalProperties, getMemoryConsumerWeight, getMinResources, getNodeCosts, getNodeName, getOptimizerNode, getOriginalOptimizerNode, getOutgoingChannels, getParallelism, getPlanNode, getPreferredResources, getProgramOperator, getRelativeMemoryPerSubTask, initProperties, isOnDynamicPath, isPruneMarkerSet, mergeBranchPlanMaps, mergeBranchPlanMaps, setBroadcastInputs, setCosts, setDriverStrategy, setParallelism, setPruningMarker, setRelativeMemoryPerSubtask, toString, updatePropertiesWithUniqueSetspublic SourcePlanNode(DataSourceNode template, String nodeName)
template - The template optimizer node that this candidate is created for.public SourcePlanNode(DataSourceNode template, String nodeName, GlobalProperties gprops, LocalProperties lprops)
public DataSourceNode getDataSourceNode()
public org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> getSerializer()
public void setSerializer(org.apache.flink.api.common.typeutils.TypeSerializerFactory<?> serializer)
serializer - The serializer to set.public void accept(org.apache.flink.util.Visitor<PlanNode> visitor)
public Iterable<PlanNode> getPredecessors()
DumpableNodegetPredecessors in interface DumpableNode<PlanNode>getPredecessors in class PlanNodepublic PlanNode.SourceAndDamReport hasDamOnPathDownTo(PlanNode source)
PlanNodehasDamOnPathDownTo in class PlanNodesource - The node on the path to which the dam is sought.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.