public final class Stage extends Object
Modifier and Type | Field and Description |
---|---|
Map<String,String> |
attrs |
List<Stage> |
childStages |
String |
internalName |
List<Stage> |
parentStages |
TezJsonParser |
parser |
Map<String,Vertex> |
vertexs |
Constructor and Description |
---|
Stage(String name,
TezJsonParser tezJsonParser) |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(org.json.JSONObject object,
Map<String,Stage> stages) |
void |
extractVertex(org.json.JSONObject object) |
void |
print(Printer printer,
int indentFlag) |
public final String internalName
public final TezJsonParser parser
public Stage(String name, TezJsonParser tezJsonParser)
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.Copyright © 2016 The Apache Software Foundation. All rights reserved.