public class DualInputPlanNode extends PlanNode
PlanNode.FeedbackPropertiesMeetRequirementsReport, PlanNode.SourceAndDamReport| Modifier and Type | Field and Description |
|---|---|
protected Channel |
input1 |
protected Channel |
input2 |
protected FieldList |
keys1 |
protected FieldList |
keys2 |
Object |
postPassHelper1 |
Object |
postPassHelper2 |
protected boolean[] |
sortOrders |
branchPlan, cumulativeCosts, globalProps, localProps, nodeCosts, outChannels, template| Constructor and Description |
|---|
DualInputPlanNode(OptimizerNode template,
String nodeName,
Channel input1,
Channel input2,
DriverStrategy diverStrategy) |
DualInputPlanNode(OptimizerNode template,
String nodeName,
Channel input1,
Channel input2,
DriverStrategy diverStrategy,
FieldList driverKeyFields1,
FieldList driverKeyFields2) |
DualInputPlanNode(OptimizerNode template,
String nodeName,
Channel input1,
Channel input2,
DriverStrategy diverStrategy,
FieldList driverKeyFields1,
FieldList driverKeyFields2,
boolean[] driverSortOrders) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor<PlanNode> visitor) |
TypeComparatorFactory<?> |
getComparator1() |
TypeComparatorFactory<?> |
getComparator2() |
Channel |
getInput1()
Gets the first input channel to this node.
|
Channel |
getInput2()
Gets the second input channel to this node.
|
Iterable<Channel> |
getInputs() |
FieldList |
getKeysForInput1() |
FieldList |
getKeysForInput2() |
TypePairComparatorFactory<?,?> |
getPairComparator() |
Iterable<PlanNode> |
getPredecessors()
Gets an iterator over the predecessors.
|
boolean[] |
getSortOrders() |
TwoInputNode |
getTwoInputNode() |
PlanNode.SourceAndDamReport |
hasDamOnPathDownTo(PlanNode source)
Checks whether this node has a dam on the way down to the given source node.
|
void |
setComparator1(TypeComparatorFactory<?> comparator) |
void |
setComparator2(TypeComparatorFactory<?> comparator) |
void |
setPairComparator(TypePairComparatorFactory<?,?> comparator) |
addOutgoingChannel, checkPartialSolutionPropertiesMet, getBranchPlan, getBroadcastInputs, getCandidateAtBranchPoint, getCostWeight, getCumulativeCosts, getCumulativeCostsShare, getDriverStrategy, getDumpableInputs, getGlobalProperties, getGuaranteedAvailableMemory, getLocalProperties, getMemoryConsumerWeight, getNodeCosts, getNodeName, getOptimizerNode, getOriginalOptimizerNode, getOutgoingChannels, getParallelism, getPlanNode, getProgramOperator, getRelativeMemoryPerSubTask, initProperties, isOnDynamicPath, isPruneMarkerSet, mergeBranchPlanMaps, mergeBranchPlanMaps, setBroadcastInputs, setCosts, setDriverStrategy, setParallelism, setPruningMarker, setRelativeMemoryPerSubtask, toString, updatePropertiesWithUniqueSetsprotected final Channel input1
protected final Channel input2
protected final FieldList keys1
protected final FieldList keys2
protected final boolean[] sortOrders
public Object postPassHelper1
public Object postPassHelper2
public DualInputPlanNode(OptimizerNode template, String nodeName, Channel input1, Channel input2, DriverStrategy diverStrategy)
public DualInputPlanNode(OptimizerNode template, String nodeName, Channel input1, Channel input2, DriverStrategy diverStrategy, FieldList driverKeyFields1, FieldList driverKeyFields2)
public DualInputPlanNode(OptimizerNode template, String nodeName, Channel input1, Channel input2, DriverStrategy diverStrategy, FieldList driverKeyFields1, FieldList driverKeyFields2, boolean[] driverSortOrders)
public TwoInputNode getTwoInputNode()
public FieldList getKeysForInput1()
public FieldList getKeysForInput2()
public boolean[] getSortOrders()
public TypeComparatorFactory<?> getComparator1()
public TypeComparatorFactory<?> getComparator2()
public void setComparator1(TypeComparatorFactory<?> comparator)
public void setComparator2(TypeComparatorFactory<?> comparator)
public TypePairComparatorFactory<?,?> getPairComparator()
public void setPairComparator(TypePairComparatorFactory<?,?> comparator)
public Channel getInput1()
public Channel getInput2()
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–2016 The Apache Software Foundation. All rights reserved.