public final class JobSpecifier extends Object implements Serializable
| Constructor and Description |
|---|
JobSpecifier(ResourceSpecifier requestedResources,
ClusterSpecifier cluster,
ClasspathSpecifier classpath,
JobInformation jobInformation,
Path storageManagementPath)
Create a new job specifier
|
JobSpecifier(ResourceSpecifier requestedResources,
ClusterSpecifier cluster,
ClasspathSpecifier classpath,
JobInformation jobInformation,
Path storageManagementPath,
String schedulerQueue,
List<String> extensionPaths)
Create a new job specifier
|
| Modifier and Type | Method and Description |
|---|---|
ClasspathSpecifier |
classpath()
Returns the classpath of the job
|
JobSpecifier |
classpath(ClasspathSpecifier classpath)
Overrides the classpath
|
ClusterSpecifier |
cluster()
Returns the cluster on which to run the job
|
JobSpecifier |
cluster(ClusterSpecifier cluster)
Overrides the cluster
|
List<String> |
extensionPaths()
Returns the extension paths.
|
JobSpecifier |
extensionPaths(List<String> extensionPaths)
Overrides the extension paths
|
JobInformation |
jobInformation()
Returns basic job information (id, user id, etc).
|
JobSpecifier |
jobInformation(JobInformation jobInformation)
Overrides the jobInformation
|
ResourceSpecifier |
requestedResources()
Returns the resources requested for the job
|
String |
schedulerQueue()
Returns the scheduler queue.
|
JobSpecifier |
schedulerQueue(String schedulerQueue)
Overrides the scheduler queue
|
Path |
storageManagementPath()
Returns the root scratch directory to use.
|
JobSpecifier |
storageManagementPath(Path storageManagementPath)
Overrides the storageManagementPath
|
public JobSpecifier(ResourceSpecifier requestedResources, ClusterSpecifier cluster, ClasspathSpecifier classpath, JobInformation jobInformation, Path storageManagementPath)
requestedResources - the requested resources for the jobcluster - the cluster on which to run the jobclasspath - the classpath of the jobjobInformation - basic job information (user id, etc).storageManagementPath - the storage managment path for the jobpublic JobSpecifier(ResourceSpecifier requestedResources, ClusterSpecifier cluster, ClasspathSpecifier classpath, JobInformation jobInformation, Path storageManagementPath, String schedulerQueue, List<String> extensionPaths)
requestedResources - the requested resources for the jobcluster - the cluster on which to run the jobclasspath - the classpath of the jobjobInformation - basic job information (user id, etc).storageManagementPath - the storage managment path for the jobschedulerQueue - the scheduler queueextensionPaths - list of user provided extension pathspublic ResourceSpecifier requestedResources()
public Path storageManagementPath()
public ClusterSpecifier cluster()
public ClasspathSpecifier classpath()
public JobInformation jobInformation()
public String schedulerQueue()
public List<String> extensionPaths()
public JobSpecifier cluster(ClusterSpecifier cluster)
cluster - the new clusterpublic JobSpecifier classpath(ClasspathSpecifier classpath)
classpath - the new classpathpublic JobSpecifier jobInformation(JobInformation jobInformation)
jobInformation - the new jobInformationpublic JobSpecifier storageManagementPath(Path storageManagementPath)
storageManagementPath - the new storageManagementPathpublic JobSpecifier schedulerQueue(String schedulerQueue)
schedulerQueue - the new scheduler queuepublic JobSpecifier extensionPaths(List<String> extensionPaths)
extensionPaths - the new extension pathsCopyright © 2021 Actian Corporation. All rights reserved.