public class Stage extends Object
Modifier and Type | Method and Description |
---|---|
void |
addDependency(org.json.JSONObject object,
Map<String,Stage> stages) |
void |
extractVertex(org.json.JSONObject object) |
void |
print(PrintStream out,
List<Boolean> indentFlag) |
public Stage(String name)
public void addDependency(org.json.JSONObject object, Map<String,Stage> stages) throws org.json.JSONException
org.json.JSONException
public void extractVertex(org.json.JSONObject object) throws Exception
object
- Exception
- If the object of stage contains "Tez", we need to extract the
vertices and edges Else we need to directly extract operators
and/or attributes.public void print(PrintStream out, List<Boolean> indentFlag) throws org.json.JSONException, Exception
org.json.JSONException
Exception
Copyright © 2017 The Apache Software Foundation. All rights reserved.