org.apache.tez.dag.api
Class EdgeProperty
java.lang.Object
org.apache.tez.dag.api.EdgeProperty
public class EdgeProperty
- extends Object
EdgeProperty
public EdgeProperty(EdgeProperty.DataMovementType dataMovementType,
EdgeProperty.DataSourceType dataSourceType,
EdgeProperty.SchedulingType schedulingType,
OutputDescriptor edgeSource,
InputDescriptor edgeDestination)
- Parameters:
dataMovementType - dataSourceType - schedulingType - edgeSource - The OutputDescriptor that generates data on the edge.edgeDestination - The InputDescriptor which will consume data from the edge.
EdgeProperty
public EdgeProperty(EdgeManagerDescriptor edgeManagerDescriptor,
EdgeProperty.DataSourceType dataSourceType,
EdgeProperty.SchedulingType schedulingType,
OutputDescriptor edgeSource,
InputDescriptor edgeDestination)
- Setup an Edge which uses a custom EdgeManager
- Parameters:
edgeManagerDescriptor - the EdgeManager specifications. This can be null if the edge
manager will be setup at runtimedataSourceType - schedulingType - edgeSource - The OutputDescriptor that generates data on the edge.edgeDestination - The InputDescriptor which will consume data from the edge.
getDataMovementType
public EdgeProperty.DataMovementType getDataMovementType()
getDataSourceType
public EdgeProperty.DataSourceType getDataSourceType()
getSchedulingType
public EdgeProperty.SchedulingType getSchedulingType()
getEdgeDestination
public InputDescriptor getEdgeDestination()
- Returns:
- the
InputDescriptor which will consume data from the edge.
getEdgeSource
public OutputDescriptor getEdgeSource()
- Returns:
- the
OutputDescriptor which produces data on the edge.
getEdgeManagerDescriptor
@InterfaceAudience.Private
public EdgeManagerDescriptor getEdgeManagerDescriptor()
- Returns the Edge Manager specifications for this edge.
- Returns:
- @link
EdgeManagerDescriptor if a custom edge was setup, null otherwise.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014 Apache Software Foundation. All rights reserved.