| java.lang.Object org.griphyn.cPlanner.partitioner.Partitioner org.griphyn.cPlanner.partitioner.Label
Label | public class Label extends Partitioner (Code) | | This partitioner partitions the DAX into smaller partitions as specified by
the labels associated with the jobs. If no label is specified, then the
partitioner puts the job into a unique partition corresponding to the job
ID.
author: Karan Vahi version: $Revision: 50 $ |
Field Summary | |
final public static String | DESCRIPTION A short description about the partitioner. |
Method Summary | |
public String | description() Returns a textual description of the transfer implementation. | public void | determinePartitions(Callback c) Partitions the graph passed in the constructor, on the basis of the labels
associated with the nodes in the graph. |
DESCRIPTION | final public static String DESCRIPTION(Code) | | A short description about the partitioner.
|
Label | public Label(GraphNode root, Map graph, PegasusProperties properties)(Code) | | The overloaded constructor.
Parameters: root - the dummy root node of the graph. Parameters: graph - the map containing all the nodes of the graph keyed bythe logical id of the nodes. Parameters: properties - the properties passed to the planner. |
description | public String description()(Code) | | Returns a textual description of the transfer implementation.
a short textual description |
determinePartitions | public void determinePartitions(Callback c)(Code) | | Partitions the graph passed in the constructor, on the basis of the labels
associated with the nodes in the graph. All the nodes, with the same label
are deemed to be in the same partition.
Parameters: c - the callback for the partitioner. |
|
|