public class SingleInputPlanNode extends PlanNode
PlanNode.FeedbackPropertiesMeetRequirementsReport, PlanNode.SourceAndDamReport| Modifier and Type | Field and Description |
|---|---|
protected org.apache.flink.api.common.operators.util.FieldList[] |
driverKeys |
protected boolean[][] |
driverSortOrders |
protected Channel |
input |
Object |
postPassHelper |
branchPlan, cumulativeCosts, globalProps, localProps, nodeCosts, outChannels, template| Constructor and Description |
|---|
SingleInputPlanNode(OptimizerNode template,
String nodeName,
Channel input,
org.apache.flink.runtime.operators.DriverStrategy driverStrategy) |
SingleInputPlanNode(OptimizerNode template,
String nodeName,
Channel input,
org.apache.flink.runtime.operators.DriverStrategy driverStrategy,
org.apache.flink.api.common.operators.util.FieldList driverKeyFields) |
SingleInputPlanNode(OptimizerNode template,
String nodeName,
Channel input,
org.apache.flink.runtime.operators.DriverStrategy driverStrategy,
org.apache.flink.api.common.operators.util.FieldList driverKeyFields,
boolean[] driverSortOrders) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.apache.flink.util.Visitor<PlanNode> visitor) |
org.apache.flink.api.common.typeutils.TypeComparatorFactory<?> |
getComparator(int id)
Gets the specified comparator from this PlanNode.
|
Channel |
getInput()
Gets the input channel to this node.
|
Iterable<Channel> |
getInputs() |
org.apache.flink.api.common.operators.util.FieldList |
getKeys(int id)
Gets the key field indexes for the specified driver comparator.
|
PlanNode |
getPredecessor()
Gets the predecessor of this node, i.e.
|
Iterable<PlanNode> |
getPredecessors()
Gets an iterator over the predecessors.
|
SingleInputNode |
getSingleInputNode() |
boolean[] |
getSortOrders(int id)
Gets the sort order for the specified driver comparator.
|
protected static boolean[] |
getTrueArray(int length) |
PlanNode.SourceAndDamReport |
hasDamOnPathDownTo(PlanNode source)
Checks whether this node has a dam on the way down to the given source node.
|
void |
setComparator(org.apache.flink.api.common.typeutils.TypeComparatorFactory<?> comparator,
int id)
Sets the specified comparator for this PlanNode.
|
void |
setDriverKeyInfo(org.apache.flink.api.common.operators.util.FieldList keys,
boolean[] sortOrder,
int id)
Sets the key field information for the specified driver comparator.
|
void |
setDriverKeyInfo(org.apache.flink.api.common.operators.util.FieldList keys,
int id)
Sets the key field indexes for the specified driver comparator.
|
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, updatePropertiesWithUniqueSetsprotected final Channel input
protected final org.apache.flink.api.common.operators.util.FieldList[] driverKeys
protected final boolean[][] driverSortOrders
public Object postPassHelper
public SingleInputPlanNode(OptimizerNode template, String nodeName, Channel input, org.apache.flink.runtime.operators.DriverStrategy driverStrategy)
public SingleInputPlanNode(OptimizerNode template, String nodeName, Channel input, org.apache.flink.runtime.operators.DriverStrategy driverStrategy, org.apache.flink.api.common.operators.util.FieldList driverKeyFields)
public SingleInputPlanNode(OptimizerNode template, String nodeName, Channel input, org.apache.flink.runtime.operators.DriverStrategy driverStrategy, org.apache.flink.api.common.operators.util.FieldList driverKeyFields, boolean[] driverSortOrders)
public SingleInputNode getSingleInputNode()
public Channel getInput()
public PlanNode getPredecessor()
public void setDriverKeyInfo(org.apache.flink.api.common.operators.util.FieldList keys,
int id)
keys - The key field indexes for the specified driver comparator.id - The ID of the driver comparator.public void setDriverKeyInfo(org.apache.flink.api.common.operators.util.FieldList keys,
boolean[] sortOrder,
int id)
keys - The key field indexes for the specified driver comparator.sortOrder - The key sort order for the specified driver comparator.id - The ID of the driver comparator.public org.apache.flink.api.common.operators.util.FieldList getKeys(int id)
id - The id of the driver comparator for which the key field indexes are requested.public boolean[] getSortOrders(int id)
id - The id of the driver comparator for which the sort order is requested.public org.apache.flink.api.common.typeutils.TypeComparatorFactory<?> getComparator(int id)
id - The ID of the requested comparator.public void setComparator(org.apache.flink.api.common.typeutils.TypeComparatorFactory<?> comparator,
int id)
comparator - The comparator to set.id - The ID of the comparator 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.protected static boolean[] getTrueArray(int length)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.