@InterfaceAudience.Public @InterfaceStability.Evolving public class UnorderedPartitionedKVEdgeConfig extends Object
TezRuntimeConfiguration
will be used.Type | Property and Description |
---|---|
org.apache.tez.dag.api.EdgeProperty |
createDefaultEdge
This is a convenience method for the typical usage of this edge, and creates an instance of
EdgeProperty which is likely to be used. |
Modifier and Type | Class and Description |
---|---|
static class |
UnorderedPartitionedKVEdgeConfig.Builder |
Modifier and Type | Method and Description |
---|---|
org.apache.tez.dag.api.EdgeProperty |
createDefaultCustomEdgeProperty(org.apache.tez.dag.api.EdgeManagerPluginDescriptor edgeManagerDescriptor)
This is a convenience method for creating an Edge descriptor based on the specified
EdgeManagerDescriptor.
|
org.apache.tez.dag.api.EdgeProperty |
createDefaultEdgeProperty()
This is a convenience method for the typical usage of this edge, and creates an instance of
EdgeProperty which is likely to be used. |
String |
getInputClassName()
Get the input class name
|
String |
getInputHistoryText()
Get the history text for the configured Input
|
org.apache.tez.dag.api.UserPayload |
getInputPayload()
Get the payload for the configured Input
|
String |
getOutputClassName()
Get the output class name
|
String |
getOutputHistoryText()
Get the history text for the configured Output
|
org.apache.tez.dag.api.UserPayload |
getOutputPayload()
Get the payload for the configured Output
|
static UnorderedPartitionedKVEdgeConfig.Builder |
newBuilder(String keyClassName,
String valueClassName,
String partitionerClassName)
Create a builder to configure the relevant Input and Output
|
static UnorderedPartitionedKVEdgeConfig.Builder |
newBuilder(String keyClassName,
String valueClassName,
String partitionerClassName,
Map<String,String> partitionerConf)
Create a builder to configure the relevant Input and Output.
|
EdgeProperty
which is likely to be used.
If custom edge properties are required, the methods to get the relevant payloads should be
used.
* In this case - DataMovementType.SCATTER_GATHER, EdgeProperty.DataSourceType.PERSISTED,
EdgeProperty.SchedulingType.SEQUENTIALEdgeProperty
instancepublic static UnorderedPartitionedKVEdgeConfig.Builder newBuilder(String keyClassName, String valueClassName, String partitionerClassName, @Nullable Map<String,String> partitionerConf)
newBuilder(String, String, String)
is the preferred method to crate an instance of the
BuilderkeyClassName
- the key class namevalueClassName
- the value class namepartitionerClassName
- the partitioner class namepartitionerConf
- the partitioner configuration. This can be null, and is a Map
of key-value pairs. The keys should be limited to
the ones required by the partitioner.public static UnorderedPartitionedKVEdgeConfig.Builder newBuilder(String keyClassName, String valueClassName, String partitionerClassName)
keyClassName
- the key class namevalueClassName
- the value class namepartitionerClassName
- the partitioner class namepublic org.apache.tez.dag.api.UserPayload getOutputPayload()
public String getOutputClassName()
public org.apache.tez.dag.api.UserPayload getInputPayload()
public String getOutputHistoryText()
public String getInputHistoryText()
public String getInputClassName()
public org.apache.tez.dag.api.EdgeProperty createDefaultEdgeProperty()
EdgeProperty
which is likely to be used.
If custom edge properties are required, the methods to get the relevant payloads should be
used.
* In this case - DataMovementType.SCATTER_GATHER, EdgeProperty.DataSourceType.PERSISTED,
EdgeProperty.SchedulingType.SEQUENTIALEdgeProperty
instancepublic org.apache.tez.dag.api.EdgeProperty createDefaultCustomEdgeProperty(org.apache.tez.dag.api.EdgeManagerPluginDescriptor edgeManagerDescriptor)
edgeManagerDescriptor
- the custom edge specificationEdgeProperty
instanceCopyright © 2016 Apache Software Foundation. All rights reserved.