| java.lang.Object org.griphyn.cPlanner.parser.dax.DAX2CDAG
DAX2CDAG | public class DAX2CDAG implements Callback(Code) | | 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.
author: Karan Vahi version: $Revision: 314 $ |
Method Summary | |
public void | cbDocument(Map attributes) Callback when the opening tag was parsed. | public void | cbDone() Callback when the parsing of the document is done. | public void | cbJob(SubInfo job) Callback for the job from section 2 jobs. | public void | cbParents(String child, List parents) Callback for child and parent relationships from section 3. | public Object | getConstructedObject() Returns an ADag object corresponding to the abstract plan it has generated. |
DAX2CDAG | public DAX2CDAG(PegasusProperties properties, String dax)(Code) | | The overloaded constructor.
Parameters: properties - the properties passed to the planner. Parameters: dax - the path to the DAX file. |
cbDocument | public void cbDocument(Map attributes)(Code) | | Callback when the opening tag was parsed. This contains all
attributes and their raw values within a map. It ends up storing
the attributes with the adag element in the internal memory structure.
Parameters: attributes - is a map of attribute key to attribute value |
cbDone | public void cbDone()(Code) | | Callback when the parsing of the document is done. It sets the flag
that the parsing has been done, that is used to determine whether the
ADag object has been fully generated or not.
|
cbJob | public void cbJob(SubInfo job)(Code) | | Callback for the job from section 2 jobs. These jobs are completely
assembled, but each is passed separately.
Parameters: job - the SubInfo object storing the job informationgotten from parser. |
cbParents | public void cbParents(String child, List parents)(Code) | | Callback for child and parent relationships from section 3.
Parameters: child - is the IDREF of the child element. Parameters: parents - is a list of IDREFs of the included parents. |
getConstructedObject | public Object getConstructedObject()(Code) | | Returns an ADag object corresponding to the abstract plan it has generated.
It throws a runtime exception if the method is called before the object
has been created fully.
ADag object containing the abstract plan referred in the dax. |
|
|