public class TezOperator extends Operator<TezOpPlanVisitor>
Modifier and Type | Class and Description |
---|---|
static class |
TezOperator.LoaderInfo |
static class |
TezOperator.OPER_FEATURE |
static class |
TezOperator.VertexGroupInfo |
Modifier and Type | Field and Description |
---|---|
Map<OperatorKey,TezEdgeDescriptor> |
inEdges |
Map<OperatorKey,TezEdgeDescriptor> |
outEdges |
PhysicalPlan |
plan |
Set<PhysicalOperator> |
scalars |
Set<String> |
UDFs |
Constructor and Description |
---|
TezOperator(OperatorKey k) |
clone, compareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, unsetProjectionMap
public transient PhysicalPlan plan
public Map<OperatorKey,TezEdgeDescriptor> outEdges
public Map<OperatorKey,TezEdgeDescriptor> inEdges
public Set<PhysicalOperator> scalars
public TezOperator(OperatorKey k)
public String getProcessorName()
public void visit(TezOpPlanVisitor v) throws VisitorException
Operator
visit
in class Operator<TezOpPlanVisitor>
v
- Visitor to visit with.VisitorException
- if the visitor has a problem.public boolean supportsMultipleInputs()
Operator
supportsMultipleInputs
in class Operator<TezOpPlanVisitor>
public boolean supportsMultipleOutputs()
Operator
supportsMultipleOutputs
in class Operator<TezOpPlanVisitor>
public int getRequestedParallelism()
public void setRequestedParallelism(int requestedParallelism)
public void setRequestedParallelismByReference(TezOperator oper)
public int getEstimatedParallelism()
public void setEstimatedParallelism(int estimatedParallelism)
public int getEffectiveParallelism(int defaultParallelism)
public boolean isDontEstimateParallelism()
public void setDontEstimateParallelism(boolean dontEstimateParallelism)
public boolean isOverrideIntermediateParallelism()
public void setOverrideIntermediateParallelism(boolean overrideIntermediateParallelism)
public OperatorKey getSplitParent()
public void setSplitParent(OperatorKey splitParent)
public void setSplitter(boolean spl)
public boolean isSplitter()
public boolean isClosed()
public void setClosed(boolean closed)
public boolean isIndexer()
public void markIndexer()
public boolean isSampler()
public void markSampler()
public boolean isSampleAggregation()
public void markSampleAggregation()
public boolean isSampleBasedPartitioner()
public void markSampleBasedPartitioner()
public boolean isGlobalSort()
public void markGlobalSort()
public boolean isGroupBy()
public void markGroupBy()
public boolean isCogroup()
public void markCogroup()
public boolean isRegularJoin()
public void markRegularJoin()
public boolean isSkewedJoin()
public void markSkewedJoin()
public boolean isLimit()
public void markLimit()
public boolean isLimitAfterSort()
public void markLimitAfterSort()
public boolean isUnion()
public void markUnion()
public boolean isDistinct()
public void markDistinct()
public boolean isNative()
public void markNative()
public boolean isRankCounter()
public void markRankCounter()
public boolean isBuildBloom()
public void markBuildBloom()
public boolean isFilterBloom()
public void markFilterBloom()
public void copyFeatures(TezOperator copyFrom, List<TezOperator.OPER_FEATURE> excludeFeatures)
public void setNeedEstimatedQuantile(boolean needEstimateParallelism)
public boolean isNeedEstimateParallelism()
public boolean isUseSecondaryKey()
public void setUseSecondaryKey(boolean useSecondaryKey)
public List<OperatorKey> getUnionMembers()
public List<OperatorKey> getVertexGroupMembers()
public void addUnionPredecessor(OperatorKey unionPredecessor)
public void setVertexGroupMembers(List<OperatorKey> vertexGroupMembers)
public boolean isVertexGroup()
public TezOperator.VertexGroupInfo getVertexGroupInfo()
public void setVertexGroupInfo(TezOperator.VertexGroupInfo vertexGroup)
public void addVertexGroupStore(OperatorKey storeKey, OperatorKey vertexGroupKey)
public void removeVertexGroupStore(OperatorKey vertexGroupKey)
public Map<OperatorKey,OperatorKey> getVertexGroupStores()
public String name()
name
in class Operator<TezOpPlanVisitor>
public String toString()
toString
in class Operator<TezOpPlanVisitor>
public boolean needSegmentBelow()
public void setSortOrder(boolean[] sortOrder)
public boolean[] getSortOrder()
public TezOperator getSampleOperator()
public void setSampleOperator(TezOperator sampleOperator)
public TezOperator getSortOperator()
public void setSortOperator(TezOperator sortOperator)
protected void noCombineSmallSplits()
public boolean combineSmallSplits()
public void addCrossKey(String key)
public boolean isUseMRMapSettings()
public void setUseMRMapSettings(boolean useMRMapSettings)
public int getVertexParallelism()
public void setVertexParallelism(int vertexParallelism)
public TezOperator.LoaderInfo getLoaderInfo()
public long getTotalInputFilesSize()
public void setTotalInputFilesSize(long totalInputFilesSize)
public void setUseGraceParallelism(boolean useGraceParallelism)
public boolean isUseGraceParallelism()
public double getParallelismFactor(TezOperator successor) throws VisitorException
VisitorException
public Boolean isIntermediateReducer() throws IOException
IOException
public void setIntermediateReducer(Boolean intermediateReducer)
Copyright © 2007-2017 The Apache Software Foundation