@InterfaceAudience.Public @InterfaceStability.Evolving public class OrderedPartitionedKVEdgeConfig 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 |
OrderedPartitionedKVEdgeConfig.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
|
org.apache.tez.dag.api.UserPayload |
getInputPayload()
Get the payload for the configured Input
|
String |
getOutputClassName()
Get the output class name
|
org.apache.tez.dag.api.UserPayload |
getOutputPayload()
Get the payload for the configured Output
|
static OrderedPartitionedKVEdgeConfig.Builder |
newBuilder(String keyClassName,
String valueClassName,
String partitionerClassName)
Create a builder to configure the relevant Input and Output
|
static OrderedPartitionedKVEdgeConfig.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.
* In this case - DataMovementType.SCATTER_GATHER, EdgeProperty.DataSourceType.PERSISTED,
EdgeProperty.SchedulingType.SEQUENTIALEdgeProperty instancepublic static OrderedPartitionedKVEdgeConfig.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 OrderedPartitionedKVEdgeConfig.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 getInputClassName()
public org.apache.tez.dag.api.EdgeProperty createDefaultEdgeProperty()
EdgeProperty which is likely to 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 © 2015 Apache Software Foundation. All rights reserved.