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 |
---|---|
java.util.Map<OperatorKey,TezEdgeDescriptor> |
inEdges |
java.util.Map<OperatorKey,TezEdgeDescriptor> |
outEdges |
PhysicalPlan |
plan |
java.util.Set<PhysicalOperator> |
scalars |
java.util.Set<java.lang.String> |
UDFs |
Constructor and Description |
---|
TezOperator(OperatorKey k) |
clone, compareTo, equals, getOperatorKey, getProjectionMap, hashCode, regenerateProjectionMap, rewire, unsetProjectionMap
public PhysicalPlan plan
public java.util.Map<OperatorKey,TezEdgeDescriptor> outEdges
public java.util.Map<OperatorKey,TezEdgeDescriptor> inEdges
public java.util.Set<java.lang.String> UDFs
public java.util.Set<PhysicalOperator> scalars
public TezOperator(OperatorKey k)
public java.lang.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()
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 isNative()
public void markNative()
public void copyFeatures(TezOperator copyFrom, java.util.List<TezOperator.OPER_FEATURE> excludeFeatures)
public void setNeedEstimatedQuantile(boolean needEstimateParallelism)
public boolean isNeedEstimateParallelism()
public boolean isUseSecondaryKey()
public void setUseSecondaryKey(boolean useSecondaryKey)
public java.util.List<OperatorKey> getUnionPredecessors()
public java.util.List<OperatorKey> getVertexGroupMembers()
public void addUnionPredecessor(OperatorKey unionPredecessor)
public void setVertexGroupMembers(java.util.List<OperatorKey> vertexGroupMembers)
public boolean isVertexGroup()
public TezOperator.VertexGroupInfo getVertexGroupInfo()
public void setVertexGroupInfo(TezOperator.VertexGroupInfo vertexGroup)
public void addVertexGroupStore(OperatorKey storeKey, OperatorKey vertexGroupKey)
public java.util.Map<OperatorKey,OperatorKey> getVertexGroupStores()
public java.lang.String name()
name
in class Operator<TezOpPlanVisitor>
public java.lang.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(java.lang.String key)
public java.util.List<java.lang.String> getCrossKeys()
public boolean isUseMRMapSettings()
public void setUseMRMapSettings(boolean useMRMapSettings)
public int getVertexParallelism()
public void setVertexParallelism(int vertexParallelism)
public TezOperator.LoaderInfo getLoaderInfo()
Copyright © 2007-2012 The Apache Software Foundation