edu.isi.pegasus.planner.client
public class PartitionDAX extends Executable
| Modifier and Type | Field and Description |
|---|---|
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.
|
mLogger, mLogMsg, mProps, mVersion| Constructor and Description |
|---|
PartitionDAX()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
convertException, convertException, getCommandLineOptions, getEnvValue, getGVDSVersion, initialize, initialize, log, lookupConfProperty, sanityCheckOnProperties, setupLoggingpublic static final String DEFAULT_PARTITIONER_TYPE
private String mDAXFile
private String mDirectory
private String mType
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