| java.lang.Object org.griphyn.cPlanner.partitioner.DAXWriter org.griphyn.cPlanner.partitioner.SingleLook
SingleLook | public class SingleLook extends DAXWriter (Code) | | This class ends up writing a partitioned dax, that corresponds to one
partition as defined by the Partitioner. It looks up the dax once when
it is initialized, stores it in memory and then refers the memory to look
up the job details for the jobs making up a particular partition.
author: Karan Vahi version: $Revision: 50 $ |
Method Summary | |
public boolean | writePartitionDax(Partition partition, int index) It writes out a dax consisting of the jobs as specified in the partition.
Parameters: partition - the partition object containing the relations and id'sof the jobs making up the partition. Parameters: index - the index of the partition. |
SingleLook | public SingleLook(String daxFile, String directory)(Code) | | The overloaded constructor.
Parameters: daxFile - the path to the dax file that is being partitioned. Parameters: directory - the directory in which the partitioned daxes are to begenerated. |
writePartitionDax | public boolean writePartitionDax(Partition partition, int index)(Code) | | It writes out a dax consisting of the jobs as specified in the partition.
Parameters: partition - the partition object containing the relations and id'sof the jobs making up the partition. Parameters: index - the index of the partition. boolean true if dax successfully generated and written.false in case of error. |
|
|