public class DotPlanDumper extends PlanDumper
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<Operator> |
mMultiInputSubgraphs |
protected java.util.Set<Operator> |
mMultiOutputSubgraphs |
protected java.util.Set<Operator> |
mSubgraphs |
isVerbose, plan, ps| Modifier | Constructor and Description |
|---|---|
|
DotPlanDumper(BaseOperatorPlan plan,
java.io.PrintStream ps) |
protected |
DotPlanDumper(BaseOperatorPlan plan,
java.io.PrintStream ps,
boolean isSubGraph,
java.util.Set<Operator> mSubgraphs,
java.util.Set<Operator> mMultiInputSubgraphs,
java.util.Set<Operator> mMultiOutputSubgraphs) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump()
This is the public interface.
|
protected void |
dumpEdge(Operator op,
Operator suc)
Will be called to dump the edges of the plan.
|
protected void |
dumpInvisibleOperators(Operator op) |
protected void |
dumpMultiInputNestedOperator(Operator op,
MultiMap<Operator,BaseOperatorPlan> plans)
Will be called when an operator has nested plans, which are
connected to one of the multiple inputs.
|
protected void |
dumpMultiOutputNestedOperator(Operator op,
java.util.Collection<BaseOperatorPlan> plans)
Will be called for nested operators, where the plans represent
how the output of the operator is processed.
|
protected void |
dumpNestedOperator(Operator op,
java.util.Collection<BaseOperatorPlan> plans)
Will be called for nested operators.
|
protected void |
dumpOperator(Operator op)
Will be called to dump a simple operator
|
protected java.lang.String[] |
getAttributes(Operator op)
Used to generate the the attributes of a node
|
protected java.lang.String |
getName(Operator op)
Used to generate the label for an operator.
|
protected PlanDumper |
makeDumper(BaseOperatorPlan plan,
java.io.PrintStream ps)
makeDumper is a factory method.
|
protected boolean |
reverse(BaseOperatorPlan plan) |
getMultiInputNestedPlans, getMultiOutputNestedPlans, getNestedPlans, isVerbose, join, setVerboseprotected java.util.Set<Operator> mSubgraphs
protected java.util.Set<Operator> mMultiInputSubgraphs
protected java.util.Set<Operator> mMultiOutputSubgraphs
public DotPlanDumper(BaseOperatorPlan plan, java.io.PrintStream ps)
protected DotPlanDumper(BaseOperatorPlan plan, java.io.PrintStream ps, boolean isSubGraph, java.util.Set<Operator> mSubgraphs, java.util.Set<Operator> mMultiInputSubgraphs, java.util.Set<Operator> mMultiOutputSubgraphs)
public void dump()
PlanDumperdump in class PlanDumperprotected void dumpMultiInputNestedOperator(Operator op, MultiMap<Operator,BaseOperatorPlan> plans)
PlanDumperdumpMultiInputNestedOperator in class PlanDumperop - the nested operatorplans - a map of input operator to connected nested planprotected void dumpMultiOutputNestedOperator(Operator op, java.util.Collection<BaseOperatorPlan> plans)
PlanDumperdumpMultiOutputNestedOperator in class PlanDumperop - the nested operatorplans - a collection of sub plans.protected void dumpNestedOperator(Operator op, java.util.Collection<BaseOperatorPlan> plans)
PlanDumperdumpNestedOperator in class PlanDumperop - the nested operatorplans - a collection of sub plans.protected void dumpOperator(Operator op)
PlanDumperdumpOperator in class PlanDumperop - the operator to be dumpedprotected void dumpEdge(Operator op, Operator suc)
PlanDumperdumpEdge in class PlanDumperop - tail of the edgesuc - head of the edgeprotected PlanDumper makeDumper(BaseOperatorPlan plan, java.io.PrintStream ps)
PlanDumpermakeDumper in class PlanDumperplan - Plan that the new dumper should handleprotected java.lang.String getName(Operator op)
op - operator to dumpprotected java.lang.String[] getAttributes(Operator op)
op - operatorprotected void dumpInvisibleOperators(Operator op)
protected boolean reverse(BaseOperatorPlan plan)
Copyright © 2007-2025 The Apache Software Foundation