public class Vertex extends Object
Modifier and Type | Field and Description |
---|---|
List<Vertex> |
children |
boolean |
dummy |
List<Vertex> |
mergeJoinDummyVertexs |
String |
name |
List<Connection> |
parentConnections |
List<Op> |
rootOps |
boolean |
union |
org.json.JSONObject |
vertexObject |
Constructor and Description |
---|
Vertex(String name,
org.json.JSONObject vertexObject) |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(Connection connection) |
void |
checkMultiReduceOperator()
We check if a vertex has multiple reduce operators.
|
void |
extractOpTree() |
void |
print(PrintStream out,
List<Boolean> indentFlag,
String type,
Vertex callingVertex) |
public String name
public List<Connection> parentConnections
public org.json.JSONObject vertexObject
public boolean union
public boolean dummy
public Vertex(String name, org.json.JSONObject vertexObject)
public void addDependency(Connection connection) throws org.json.JSONException
org.json.JSONException
public void extractOpTree() throws org.json.JSONException, org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException, Exception
org.json.JSONException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
Exception
- We assume that there is a single top-level Map Operator Tree or a
Reduce Operator Tree in a vertexpublic void print(PrintStream out, List<Boolean> indentFlag, String type, Vertex callingVertex) throws org.json.JSONException, Exception
org.json.JSONException
Exception
public void checkMultiReduceOperator()
Copyright © 2017 The Apache Software Foundation. All rights reserved.