Class PlanPrinter
- java.lang.Object
-
- io.prestosql.sql.planner.planprinter.PlanPrinter
-
public class PlanPrinter extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
formatAggregation(AggregationNode.Aggregation aggregation)
static String
graphvizDistributedPlan(SubPlan plan)
static String
graphvizLogicalPlan(PlanNode plan, TypeProvider types)
static String
jsonFragmentPlan(PlanNode root, Map<Symbol,Type> symbols, Metadata metadata, Session session)
static String
textDistributedPlan(StageInfo outputStageInfo, Metadata metadata, Session session, boolean verbose)
static String
textDistributedPlan(StageInfo outputStageInfo, ValuePrinter valuePrinter, boolean verbose)
static String
textDistributedPlan(SubPlan plan, Metadata metadata, Session session, boolean verbose)
static String
textLogicalPlan(PlanNode plan, TypeProvider types, Metadata metadata, StatsAndCosts estimatedStatsAndCosts, Session session, int level, boolean verbose)
-
-
-
Method Detail
-
jsonFragmentPlan
public static String jsonFragmentPlan(PlanNode root, Map<Symbol,Type> symbols, Metadata metadata, Session session)
-
textLogicalPlan
public static String textLogicalPlan(PlanNode plan, TypeProvider types, Metadata metadata, StatsAndCosts estimatedStatsAndCosts, Session session, int level, boolean verbose)
-
textDistributedPlan
public static String textDistributedPlan(StageInfo outputStageInfo, Metadata metadata, Session session, boolean verbose)
-
textDistributedPlan
public static String textDistributedPlan(StageInfo outputStageInfo, ValuePrinter valuePrinter, boolean verbose)
-
textDistributedPlan
public static String textDistributedPlan(SubPlan plan, Metadata metadata, Session session, boolean verbose)
-
graphvizLogicalPlan
public static String graphvizLogicalPlan(PlanNode plan, TypeProvider types)
-
formatAggregation
public static String formatAggregation(AggregationNode.Aggregation aggregation)
-
-