public class PlanPrinter extends Object
Modifier and Type | Method and Description |
---|---|
static String |
graphvizDistributedPlan(SubPlan plan) |
static String |
graphvizLogicalPlan(PlanNode plan,
TypeProvider types) |
static String |
jsonFragmentPlan(PlanNode root,
Map<Symbol,Type> symbols,
FunctionRegistry functionRegistry,
Session session) |
static String |
textDistributedPlan(StageInfo outputStageInfo,
FunctionRegistry functionRegistry,
Session session,
boolean verbose) |
static String |
textDistributedPlan(SubPlan plan,
FunctionRegistry functionRegistry,
Session session,
boolean verbose) |
static String |
textLogicalPlan(PlanNode plan,
TypeProvider types,
FunctionRegistry functionRegistry,
StatsAndCosts estimatedStatsAndCosts,
Session session,
int level) |
static String |
textLogicalPlan(PlanNode plan,
TypeProvider types,
FunctionRegistry functionRegistry,
StatsAndCosts estimatedStatsAndCosts,
Session session,
int level,
boolean verbose) |
static String |
textLogicalPlan(PlanNode plan,
TypeProvider types,
Optional<StageExecutionDescriptor> stageExecutionStrategy,
FunctionRegistry functionRegistry,
StatsAndCosts estimatedStatsAndCosts,
Session session,
Optional<Map<PlanNodeId,PlanNodeStats>> stats,
int level,
boolean verbose) |
String |
toJson() |
String |
toText(boolean verbose,
int level) |
public String toText(boolean verbose, int level)
public String toJson()
public static String jsonFragmentPlan(PlanNode root, Map<Symbol,Type> symbols, FunctionRegistry functionRegistry, Session session)
public static String textLogicalPlan(PlanNode plan, TypeProvider types, FunctionRegistry functionRegistry, StatsAndCosts estimatedStatsAndCosts, Session session, int level)
public static String textLogicalPlan(PlanNode plan, TypeProvider types, FunctionRegistry functionRegistry, StatsAndCosts estimatedStatsAndCosts, Session session, int level, boolean verbose)
public static String textLogicalPlan(PlanNode plan, TypeProvider types, Optional<StageExecutionDescriptor> stageExecutionStrategy, FunctionRegistry functionRegistry, StatsAndCosts estimatedStatsAndCosts, Session session, Optional<Map<PlanNodeId,PlanNodeStats>> stats, int level, boolean verbose)
public static String textDistributedPlan(StageInfo outputStageInfo, FunctionRegistry functionRegistry, Session session, boolean verbose)
public static String textDistributedPlan(SubPlan plan, FunctionRegistry functionRegistry, Session session, boolean verbose)
public static String graphvizLogicalPlan(PlanNode plan, TypeProvider types)
Copyright © 2012–2019. All rights reserved.