public class BinaryUnionNode extends TwoInputNode
| Modifier and Type | Class and Description |
|---|---|
static class |
BinaryUnionNode.UnionSemanticProperties |
OptimizerNode.UnclosedBranchDescriptorinput1, input2, keys1, keys2cachedPlans, closedBranchingNodes, costWeight, estimatedNumRecords, estimatedOutputSize, hereJoinedBranches, id, MAX_DYNAMIC_PATH_COST_WEIGHT, onDynamicPath, openBranches, uniqueFields| Constructor and Description |
|---|
BinaryUnionNode(Union<?> union) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeInterestingPropertiesForInputs(CostEstimator estimator)
Tells the node to compute the interesting properties for its inputs.
|
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 |
computeUnionOfInterestingPropertiesFromSuccessors()
Computes all the interesting properties that are relevant to this node.
|
List<PlanNode> |
getAlternativePlans(CostEstimator estimator)
Computes the plan alternatives for this node, an implicitly for all nodes that are children of
this node.
|
String |
getOperatorName()
Gets the name of this node, which is the name of the function/operator, or
data source / data sink.
|
protected List<OperatorDescriptorDual> |
getPossibleProperties() |
SemanticProperties |
getSemanticProperties() |
protected void |
readStubAnnotations()
Reads all stub annotations, i.e.
|
accept, addLocalCandidates, computeUnclosedBranchStack, getFirstIncomingConnection, getFirstPredecessorNode, getIncomingConnections, getOperator, getSecondIncomingConnection, getSecondPredecessorNode, getSemanticPropertiesForGlobalPropertyFiltering, getSemanticPropertiesForLocalPropertyFiltering, instantiate, placePipelineBreakersIfNecessary, setInputaddBroadcastConnection, addClosedBranch, addClosedBranches, addOutgoingConnection, areBranchCompatible, clearInterestingProperties, computeUnclosedBranchStackForBroadcastInputs, getBranchesForParent, getBroadcastConnectionNames, getBroadcastConnections, getClosedBranchingNodes, getCostWeight, getDumpableInputs, getEstimatedAvgWidthPerOutputRecord, getEstimatedNumRecords, getEstimatedOutputSize, getId, getInterestingProperties, getMaxDepth, getMinimalMemoryAcrossAllSubTasks, getOpenBranches, getOptimizerNode, getOutgoingConnections, getParallelism, getPlanNode, getPredecessors, getUniqueFields, hasUnclosedBranches, haveAllOutputConnectionInterestingProperties, identifyDynamicPath, initId, isBranching, isOnDynamicPath, markAllOutgoingConnectionsAsPipelineBreaking, mergeLists, prunePlanAlternatives, prunePlanAlternativesWithCommonBranching, readUniqueFieldsAnnotation, removeClosedBranches, setBroadcastInputs, setEstimatedNumRecords, setEstimatedOutputSize, setParallelism, toStringpublic BinaryUnionNode(Union<?> union)
public String getOperatorName()
OptimizerNodegetOperatorName in class OptimizerNodeprotected List<OperatorDescriptorDual> getPossibleProperties()
getPossibleProperties in class TwoInputNodeprotected void computeOperatorSpecificDefaultEstimates(DataStatistics statistics)
computeOperatorSpecificDefaultEstimates in class OptimizerNodepublic void computeUnionOfInterestingPropertiesFromSuccessors()
OptimizerNodecomputeUnionOfInterestingPropertiesFromSuccessors in class OptimizerNodepublic void computeInterestingPropertiesForInputs(CostEstimator estimator)
OptimizerNodecomputeInterestingPropertiesForInputs in class TwoInputNodeestimator - The CostEstimator instance to use for plan cost estimation.public List<PlanNode> getAlternativePlans(CostEstimator estimator)
OptimizerNodegetAlternatives() on its children
to get their plan alternatives, and build its own alternatives on top of those.getAlternativePlans in class TwoInputNodeestimator - The cost estimator used to estimate the costs of each plan alternative.protected void readStubAnnotations()
OptimizerNodereadStubAnnotations in class OptimizerNodepublic SemanticProperties getSemanticProperties()
getSemanticProperties in class TwoInputNodepublic 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.Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.