@Alpha public class BaseFlowEdge extends Object implements FlowEdge
FlowEdge. If a FSFlowTemplateCatalog is specified in the constructor,
flowTemplate is reloaded when getFlowTemplate() is called.| Modifier and Type | Class and Description |
|---|---|
static class |
BaseFlowEdge.Factory
A
FlowEdgeFactory for creating BaseFlowEdge. |
| Modifier and Type | Field and Description |
|---|---|
protected String |
dest |
protected FlowTemplate |
flowTemplate |
protected String |
src |
| Constructor and Description |
|---|
BaseFlowEdge(List<String> endPoints,
String edgeId,
FlowTemplate flowTemplate,
List<SpecExecutor> executors,
com.typesafe.config.Config properties,
boolean active) |
BaseFlowEdge(List<String> endPoints,
String edgeId,
FlowTemplate flowTemplate,
List<SpecExecutor> executors,
com.typesafe.config.Config properties,
boolean active,
FSFlowTemplateCatalog flowTemplateCatalog) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
The
FlowEdges are the same if they have the same endpoints and both refer to the same i.e. |
FlowTemplate |
getFlowTemplate() |
int |
hashCode() |
boolean |
isAccessible(org.apache.hadoop.security.UserGroupInformation user) |
String |
toString() |
protected String src
protected String dest
protected FlowTemplate flowTemplate
public BaseFlowEdge(List<String> endPoints, String edgeId, FlowTemplate flowTemplate, List<SpecExecutor> executors, com.typesafe.config.Config properties, boolean active)
public BaseFlowEdge(List<String> endPoints, String edgeId, FlowTemplate flowTemplate, List<SpecExecutor> executors, com.typesafe.config.Config properties, boolean active, FSFlowTemplateCatalog flowTemplateCatalog)
public FlowTemplate getFlowTemplate()
getFlowTemplate in interface FlowEdgeFlowTemplate that performs the data movement along the edge.public boolean isAccessible(org.apache.hadoop.security.UserGroupInformation user)
isAccessible in interface FlowEdgeFlowEdge,public boolean equals(Object o)
FlowEdges are the same if they have the same endpoints and both refer to the same i.e.
the FlowTemplate uris are the same