public class SinkJoiner extends TwoInputNode
OptimizerNode.UnclosedBranchDescriptor
input1, input2, keys1, keys2
cachedPlans, closedBranchingNodes, costWeight, estimatedNumRecords, estimatedOutputSize, hereJoinedBranches, id, MAX_DYNAMIC_PATH_COST_WEIGHT, onDynamicPath, openBranches, uniqueFields
Constructor and Description |
---|
SinkJoiner(OptimizerNode input1,
OptimizerNode input2) |
Modifier and Type | Method and Description |
---|---|
protected void |
computeOperatorSpecificDefaultEstimates(DataStatistics statistics) |
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.
|
String |
getOperatorName()
Gets the name of this node, which is the name of the function/operator, or
data source / data sink.
|
List<DagConnection> |
getOutgoingConnections()
The list of outgoing connections from this node to succeeding tasks.
|
protected List<OperatorDescriptorDual> |
getPossibleProperties() |
accept, addLocalCandidates, computeInterestingPropertiesForInputs, getAlternativePlans, getFirstIncomingConnection, getFirstPredecessorNode, getIncomingConnections, getOperator, getSecondIncomingConnection, getSecondPredecessorNode, getSemanticProperties, getSemanticPropertiesForGlobalPropertyFiltering, getSemanticPropertiesForLocalPropertyFiltering, instantiate, placePipelineBreakersIfNecessary, setInput
addBroadcastConnection, addClosedBranch, addClosedBranches, addOutgoingConnection, areBranchCompatible, clearInterestingProperties, computeUnclosedBranchStackForBroadcastInputs, computeUnionOfInterestingPropertiesFromSuccessors, getBranchesForParent, getBroadcastConnectionNames, getBroadcastConnections, getClosedBranchingNodes, getCostWeight, getDumpableInputs, getEstimatedAvgWidthPerOutputRecord, getEstimatedNumRecords, getEstimatedOutputSize, getId, getInterestingProperties, getMaxDepth, getMinimalMemoryAcrossAllSubTasks, getOpenBranches, getOptimizerNode, getParallelism, getPlanNode, getPredecessors, getUniqueFields, hasUnclosedBranches, haveAllOutputConnectionInterestingProperties, identifyDynamicPath, initId, isBranching, isOnDynamicPath, markAllOutgoingConnectionsAsPipelineBreaking, mergeLists, prunePlanAlternatives, prunePlanAlternativesWithCommonBranching, readStubAnnotations, readUniqueFieldsAnnotation, removeClosedBranches, setBroadcastInputs, setEstimatedNumRecords, setEstimatedOutputSize, setParallelism, toString
public SinkJoiner(OptimizerNode input1, OptimizerNode input2)
public String getOperatorName()
OptimizerNode
getOperatorName
in class OptimizerNode
public List<DagConnection> getOutgoingConnections()
OptimizerNode
getOutgoingConnections
in class OptimizerNode
public void computeUnclosedBranchStack()
OptimizerNode
openBranches
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 TwoInputNode
protected List<OperatorDescriptorDual> getPossibleProperties()
getPossibleProperties
in class TwoInputNode
public void computeOutputEstimates(DataStatistics statistics)
OptimizerNode
computeOutputEstimates
in class OptimizerNode
statistics
- The statistics object which may be accessed to get statistical information.
The parameter may be null, if no statistics are available.protected void computeOperatorSpecificDefaultEstimates(DataStatistics statistics)
computeOperatorSpecificDefaultEstimates
in class OptimizerNode
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.