public class ExecNodeGraphJsonPlanGenerator extends Object
ExecNodeGraph
or generate
ExecNodeGraph
based on the given JSON plan.Modifier and Type | Class and Description |
---|---|
static class |
ExecNodeGraphJsonPlanGenerator.JsonPlanEdge
The
ExecEdge 's JSON representation. |
static class |
ExecNodeGraphJsonPlanGenerator.JsonPlanGraph
The
ExecNodeGraph 's JSON representation. |
Constructor and Description |
---|
ExecNodeGraphJsonPlanGenerator() |
Modifier and Type | Method and Description |
---|---|
static ExecNodeGraph |
generateExecNodeGraph(String jsonPlan,
SerdeContext serdeCtx)
Generate
ExecNodeGraph based on the given JSON plan. |
static String |
generateJsonPlan(ExecNodeGraph execGraph,
SerdeContext serdeCtx)
Generate JSON plan based on the given
ExecNodeGraph . |
public static String generateJsonPlan(ExecNodeGraph execGraph, SerdeContext serdeCtx) throws IOException
ExecNodeGraph
.IOException
public static ExecNodeGraph generateExecNodeGraph(String jsonPlan, SerdeContext serdeCtx) throws IOException
ExecNodeGraph
based on the given JSON plan.IOException
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.