public class One2One extends Partitioner
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTION
A short description about the partitioner.
|
mGraph, mLogger, mProps, mRoot, PACKAGE_NAME, VERSION
Constructor and Description |
---|
One2One(GraphNode root,
java.util.Map graph,
PegasusProperties properties)
The overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Returns a textual description of the transfer implementation.
|
void |
determinePartitions(Callback c)
This ends up writing out a partition for each job in the dax.
|
public static final java.lang.String DESCRIPTION
public One2One(GraphNode root, java.util.Map graph, PegasusProperties properties)
root
- the dummy root node of the graph.graph
- the map containing all the nodes of the graph keyed by
the logical id of the nodes.properties
- the properties passed to the planner.public void determinePartitions(Callback c)
determinePartitions
in class Partitioner
c
- the callback object to callout to while partitioning.public java.lang.String description()
description
in class Partitioner