|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.parser.dax.DAX2CDAG
public class DAX2CDAG
This creates a dag corresponding to one particular partition of the whole abstract plan. The partition can be as big as the whole abstract graph or can be as small as a single job. The partitions are determined by the Partitioner.
| Field Summary | |
|---|---|
protected Map<String,CompoundTransformation> |
mCompoundTransformations
Map of Compound Transfomations indexed by complete name of the compound transformation. |
private DagInfo |
mDagInfo
The DAGInfo object which contains information corresponding to the ADag in the XML file. |
private boolean |
mDone
A flag to specify whether the graph has been generated for the partition or not. |
private Map |
mJobMap
The mapping of the idrefs of a job to the job name. |
private Notifications |
mNotifications
All the notifications associated with the adag |
private PegasusProperties |
mProps
The handle to the properties object. |
protected ReplicaStore |
mReplicaStore
Handle to the replica store that stores the replica catalog user specifies in the DAX |
protected TransformationStore |
mTransformationStore
Handle to the transformation store that stores the transformation catalog user specifies in the DAX |
private Vector |
mVSubInfo
Contains Job objects. |
| Fields inherited from interface edu.isi.pegasus.planner.parser.dax.Callback |
|---|
VERSION |
| Constructor Summary | |
|---|---|
DAX2CDAG(PegasusProperties properties,
String dax)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
void |
cbCompoundTransformation(CompoundTransformation compoundTransformation)
Callback when a compound transformation is encountered in the DAX |
void |
cbDocument(Map attributes)
Callback when the opening tag was parsed. |
void |
cbDone()
Callback when the parsing of the document is done. |
void |
cbExecutable(TransformationCatalogEntry tce)
Callback when a transformation catalog entry is encountered in the DAX |
void |
cbFile(ReplicaLocation rl)
Callback when a replica catalog entry is encountered in the DAX |
void |
cbJob(Job job)
Callback for the job from section 2 jobs. |
void |
cbParents(String child,
List<PCRelation> parents)
Callback for child and parentID relationships from section 3. |
void |
cbWfInvoke(Invoke invoke)
Callback when a invoke entry is encountered in the top level inside the adag element in DAX. |
Object |
getConstructedObject()
Returns an ADag object corresponding to the abstract plan it has generated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private DagInfo mDagInfo
private Vector mVSubInfo
private Map mJobMap
private PegasusProperties mProps
private boolean mDone
protected ReplicaStore mReplicaStore
protected TransformationStore mTransformationStore
protected Map<String,CompoundTransformation> mCompoundTransformations
private Notifications mNotifications
| Constructor Detail |
|---|
public DAX2CDAG(PegasusProperties properties,
String dax)
properties - the properties passed to the planner.dax - the path to the DAX file.| Method Detail |
|---|
public void cbDocument(Map attributes)
cbDocument in interface Callbackattributes - is a map of attribute key to attribute valuepublic void cbWfInvoke(Invoke invoke)
cbWfInvoke in interface Callbackinvoke - the invoke objectpublic void cbJob(Job job)
cbJob in interface Callbackjob - the Job object storing the job information
gotten from parser.
public void cbParents(String child,
List<PCRelation> parents)
cbParents in interface Callbackchild - is the IDREF of the child element.parents - is a list of IDREFs of the included parents.public void cbDone()
cbDone in interface Callbackpublic Object getConstructedObject()
getConstructedObject in interface Callbackpublic void cbCompoundTransformation(CompoundTransformation compoundTransformation)
cbCompoundTransformation in interface CallbackcompoundTransformation - the compound transforamtionpublic void cbFile(ReplicaLocation rl)
cbFile in interface Callbackrl - the ReplicaLocation objectpublic void cbExecutable(TransformationCatalogEntry tce)
cbExecutable in interface Callbacktce - the transformationc catalog entry object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||