public class PlanJSONDumpGenerator extends Object
Constructor and Description |
---|
PlanJSONDumpGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
dumpOptimizerPlanAsJSON(List<SinkPlanNode> nodes,
PrintWriter writer) |
void |
dumpOptimizerPlanAsJSON(OptimizedPlan plan,
File toFile) |
void |
dumpOptimizerPlanAsJSON(OptimizedPlan plan,
PrintWriter writer) |
void |
dumpPactPlanAsJSON(List<DataSinkNode> nodes,
PrintWriter writer) |
static String |
formatNumber(double number) |
static String |
formatNumber(double number,
String suffix) |
String |
getOptimizerPlanAsJSON(OptimizedPlan plan) |
String |
getPactPlanAsJSON(List<DataSinkNode> nodes) |
boolean |
isEncodeForHTML() |
void |
setEncodeForHTML(boolean encodeForHTML) |
public void setEncodeForHTML(boolean encodeForHTML)
public boolean isEncodeForHTML()
public void dumpPactPlanAsJSON(List<DataSinkNode> nodes, PrintWriter writer)
public String getPactPlanAsJSON(List<DataSinkNode> nodes)
public void dumpOptimizerPlanAsJSON(OptimizedPlan plan, File toFile) throws IOException
IOException
public String getOptimizerPlanAsJSON(OptimizedPlan plan)
public void dumpOptimizerPlanAsJSON(OptimizedPlan plan, PrintWriter writer)
public void dumpOptimizerPlanAsJSON(List<SinkPlanNode> nodes, PrintWriter writer)
public static String formatNumber(double number)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.