@InterfaceAudience.Public public class EdgeProperty extends Object
EdgeProperty
defines the relation between the source and
destination vertices of an edge. The relation consists of defining their
communication pattern and dependencies. It also defines the user code that
actually does the job of writing out data at the source and reading that data
at the destination via the @link InputDescriptor
and @link
OutputDescriptor
Modifier and Type | Method and Description |
---|---|
static EdgeProperty |
create(EdgeManagerPluginDescriptor edgeManagerDescriptor,
org.apache.tez.dag.api.EdgeProperty.DataSourceType dataSourceType,
org.apache.tez.dag.api.EdgeProperty.SchedulingType schedulingType,
OutputDescriptor edgeSource,
InputDescriptor edgeDestination)
Setup an Edge which uses a custom EdgeManager
|
static EdgeProperty |
create(org.apache.tez.dag.api.EdgeProperty.DataMovementType dataMovementType,
org.apache.tez.dag.api.EdgeProperty.DataSourceType dataSourceType,
org.apache.tez.dag.api.EdgeProperty.SchedulingType schedulingType,
OutputDescriptor edgeSource,
InputDescriptor edgeDestination)
Setup an EdgeProperty which makes use of one of the provided
EdgeProperty.DataMovementType s |
org.apache.tez.dag.api.EdgeProperty.DataMovementType |
getDataMovementType()
Get the
EdgeProperty.DataMovementType |
org.apache.tez.dag.api.EdgeProperty.DataSourceType |
getDataSourceType()
Get the
EdgeProperty.DataSourceType |
InputDescriptor |
getEdgeDestination() |
OutputDescriptor |
getEdgeSource() |
org.apache.tez.dag.api.EdgeProperty.SchedulingType |
getSchedulingType()
Get the
EdgeProperty.SchedulingType |
String |
toString() |
public static EdgeProperty create(org.apache.tez.dag.api.EdgeProperty.DataMovementType dataMovementType, org.apache.tez.dag.api.EdgeProperty.DataSourceType dataSourceType, org.apache.tez.dag.api.EdgeProperty.SchedulingType schedulingType, OutputDescriptor edgeSource, InputDescriptor edgeDestination)
EdgeProperty.DataMovementType
sdataMovementType
- dataSourceType
- schedulingType
- edgeSource
- The OutputDescriptor
that generates data on the edge.edgeDestination
- The InputDescriptor
which will consume data from the edge.public static EdgeProperty create(EdgeManagerPluginDescriptor edgeManagerDescriptor, org.apache.tez.dag.api.EdgeProperty.DataSourceType dataSourceType, org.apache.tez.dag.api.EdgeProperty.SchedulingType schedulingType, OutputDescriptor edgeSource, InputDescriptor edgeDestination)
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.public org.apache.tez.dag.api.EdgeProperty.DataMovementType getDataMovementType()
EdgeProperty.DataMovementType
EdgeProperty.DataMovementType
public org.apache.tez.dag.api.EdgeProperty.DataSourceType getDataSourceType()
EdgeProperty.DataSourceType
EdgeProperty.DataSourceType
public org.apache.tez.dag.api.EdgeProperty.SchedulingType getSchedulingType()
EdgeProperty.SchedulingType
EdgeProperty.SchedulingType
public InputDescriptor getEdgeDestination()
InputDescriptor
which will consume data from the edge.public OutputDescriptor getEdgeSource()
OutputDescriptor
which produces data on the edge.Copyright © 2024 Apache Software Foundation. All rights reserved.