public class Edge extends Object
| Constructor and Description |
|---|
Edge(org.apache.tez.dag.api.EdgeProperty edgeProperty,
org.apache.hadoop.yarn.event.EventHandler eventHandler) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tez.runtime.api.impl.InputSpec |
getDestinationSpec(int destinationTaskIndex) |
String |
getDestinationVertexName() |
org.apache.tez.dag.api.EdgeManagerPlugin |
getEdgeManager() |
org.apache.tez.dag.api.EdgeProperty |
getEdgeProperty() |
org.apache.tez.runtime.api.impl.OutputSpec |
getSourceSpec(int sourceTaskIndex) |
String |
getSourceVertexName() |
void |
initialize() |
void |
sendTezEventToDestinationTasks(org.apache.tez.runtime.api.impl.TezEvent tezEvent) |
void |
sendTezEventToSourceTasks(org.apache.tez.runtime.api.impl.TezEvent tezEvent) |
void |
setCustomEdgeManager(org.apache.tez.dag.api.EdgeManagerPluginDescriptor descriptor) |
void |
setDestinationVertex(Vertex destinationVertex) |
void |
setSourceVertex(Vertex sourceVertex) |
void |
startEventBuffering() |
void |
stopEventBuffering() |
public Edge(org.apache.tez.dag.api.EdgeProperty edgeProperty,
org.apache.hadoop.yarn.event.EventHandler eventHandler)
public void initialize()
throws AMUserCodeException
AMUserCodeExceptionpublic void setCustomEdgeManager(org.apache.tez.dag.api.EdgeManagerPluginDescriptor descriptor)
throws AMUserCodeException
AMUserCodeExceptionpublic org.apache.tez.dag.api.EdgeProperty getEdgeProperty()
public org.apache.tez.dag.api.EdgeManagerPlugin getEdgeManager()
public void setSourceVertex(Vertex sourceVertex)
public void setDestinationVertex(Vertex destinationVertex)
public org.apache.tez.runtime.api.impl.InputSpec getDestinationSpec(int destinationTaskIndex)
throws AMUserCodeException
AMUserCodeExceptionpublic org.apache.tez.runtime.api.impl.OutputSpec getSourceSpec(int sourceTaskIndex)
throws AMUserCodeException
AMUserCodeExceptionpublic void startEventBuffering()
public void stopEventBuffering()
throws AMUserCodeException
AMUserCodeExceptionpublic void sendTezEventToSourceTasks(org.apache.tez.runtime.api.impl.TezEvent tezEvent)
throws AMUserCodeException
AMUserCodeExceptionpublic void sendTezEventToDestinationTasks(org.apache.tez.runtime.api.impl.TezEvent tezEvent)
throws AMUserCodeException
AMUserCodeExceptionpublic String getSourceVertexName()
public String getDestinationVertexName()
Copyright © 2014 Apache Software Foundation. All rights reserved.