public class TezJsonParser extends Object implements JsonParser
Modifier and Type | Field and Description |
---|---|
static Map<Op,List<Connection>> |
inlineMap |
protected org.apache.commons.logging.Log |
LOG |
static Set<Object> |
printSet |
Constructor and Description |
---|
TezJsonParser() |
Modifier and Type | Method and Description |
---|---|
static void |
addInline(Op op,
Connection connection) |
void |
extractStagesAndPlans() |
static boolean |
isInline(Vertex v) |
static String |
prefixString(List<Boolean> indentFlag) |
static String |
prefixString(List<Boolean> indentFlag,
String tail) |
void |
print(org.json.JSONObject inputObject,
PrintStream outputStream) |
protected final org.apache.commons.logging.Log LOG
public static Map<Op,List<Connection>> inlineMap
public void extractStagesAndPlans() throws org.json.JSONException, org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, Exception, IOException
org.json.JSONException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
Exception
IOException
public static String prefixString(List<Boolean> indentFlag)
indentFlag
- help to generate correct indentpublic static String prefixString(List<Boolean> indentFlag, String tail)
indentFlag
- tail
- help to generate correct indent with a specific tailpublic void print(org.json.JSONObject inputObject, PrintStream outputStream) throws Exception
print
in interface JsonParser
Exception
public static void addInline(Op op, Connection connection)
public static boolean isInline(Vertex v)
Copyright © 2017 The Apache Software Foundation. All rights reserved.