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.JSONExceptionpublic 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.JSONExceptionExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.