|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.client.Executable
edu.isi.pegasus.planner.client.PartitionDAX
public class PartitionDAX
The class ends up partitioning the dax into smaller daxes according to the various algorithms/criteria, to be used for deferred planning.
| Field Summary | |
|---|---|
static String |
DEFAULT_PARTITIONER_TYPE
The name of the default partitioner that is loaded, if none is specified by the user. |
private String |
mDAXFile
The path to the dax file that is to be partitioned. |
private String |
mDirectory
The directory in which the partition daxes are generated. |
private String |
mType
The type of the partitioner to be used. |
| Fields inherited from class edu.isi.pegasus.planner.client.Executable |
|---|
mLogger, mLogMsg, mProps, mVersion |
| Constructor Summary | |
|---|---|
PartitionDAX()
The default constructor. |
|
| Method Summary | |
|---|---|
void |
executeCommand()
Executes the partition dax on the basis of the options given by the user. |
gnu.getopt.LongOpt[] |
generateValidOptions()
Tt generates the LongOpt which contain the valid options that the command will accept. |
void |
initalize(String[] opts)
Initialize the PartitionDax object |
void |
loadProperties()
Loads all the properties that are needed by this class. |
static void |
main(String[] args)
The main function of the class, that is invoked by the jvm. |
String |
partitionDAX(PegasusProperties properties,
String daxFile,
String directory,
String type)
|
void |
printLongVersion()
Generated the long version of the help on the stdout. |
void |
printShortVersion()
Generates the short version of the help on the stdout. |
| Methods inherited from class edu.isi.pegasus.planner.client.Executable |
|---|
convertException, convertException, getCommandLineOptions, getEnvValue, getGVDSVersion, initialize, initialize, log, lookupConfProperty, sanityCheckOnProperties, setupLogging |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_PARTITIONER_TYPE
private String mDAXFile
private String mDirectory
private String mType
| Constructor Detail |
|---|
public PartitionDAX()
| Method Detail |
|---|
public void initalize(String[] opts)
opts - the command line argument passed to the PartitionDaxpublic static void main(String[] args)
args - array of arguments.public void executeCommand()
args - the arguments array populated by the user options.
public String partitionDAX(PegasusProperties properties,
String daxFile,
String directory,
String type)
properties - the PegasusPropertiesdaxFile - Stringdirectory - the directory where paritioned daxes residetype - the type of partitioning to use.
public void printShortVersion()
printShortVersion in class Executablepublic void printLongVersion()
printLongVersion in class Executablepublic gnu.getopt.LongOpt[] generateValidOptions()
generateValidOptions in class ExecutableLongOpt objects , corresponding to the valid
optionspublic void loadProperties()
loadProperties in class Executable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||