Class JobInformationBasic
java.lang.Object
com.microsoft.azure.management.datalake.analytics.models.JobInformationBasic
- Direct Known Subclasses:
JobInformation
The common Data Lake Analytics job information properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the degree of parallelism used for this job.org.joda.time.DateTime
endTime()
Get the completion time of the job.jobId()
Get the job's unique identifier (a GUID).Get the list of log file name patterns to find in the logFolder.Get the log folder path to use in the following format: adl://<accountName>.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/.name()
Get the friendly name of the job.priority()
Get the priority value for the current job.related()
Get the recurring job relationship information properties.result()
Get the result of job execution or the current result of the running job.org.joda.time.DateTime
Get the start time of the job.state()
Get the job state.Get the user or account that submitted the job.org.joda.time.DateTime
Get the time the job was submitted to the service.tags()
Get the key-value pairs used to add additional metadata to the job information.type()
Get the job type of the current job (Hive, USql, or Scope (for internal use only)).withDegreeOfParallelism
(Integer degreeOfParallelism) Set the degree of parallelism used for this job.withLogFilePatterns
(List<String> logFilePatterns) Set the list of log file name patterns to find in the logFolder.Set the friendly name of the job.withPriority
(Integer priority) Set the priority value for the current job.withRelated
(JobRelationshipProperties related) Set the recurring job relationship information properties.Set the key-value pairs used to add additional metadata to the job information.Set the job type of the current job (Hive, USql, or Scope (for internal use only)).
-
Constructor Details
-
JobInformationBasic
public JobInformationBasic()
-
-
Method Details
-
jobId
Get the job's unique identifier (a GUID).- Returns:
- the jobId value
-
name
Get the friendly name of the job.- Returns:
- the name value
-
withName
Set the friendly name of the job.- Parameters:
name
- the name value to set- Returns:
- the JobInformationBasic object itself.
-
type
Get the job type of the current job (Hive, USql, or Scope (for internal use only)). Possible values include: 'USql', 'Hive', 'Scope'.- Returns:
- the type value
-
withType
Set the job type of the current job (Hive, USql, or Scope (for internal use only)). Possible values include: 'USql', 'Hive', 'Scope'.- Parameters:
type
- the type value to set- Returns:
- the JobInformationBasic object itself.
-
submitter
Get the user or account that submitted the job.- Returns:
- the submitter value
-
degreeOfParallelism
Get the degree of parallelism used for this job. This must be greater than 0, if set to less than 0 it will default to 1.- Returns:
- the degreeOfParallelism value
-
withDegreeOfParallelism
Set the degree of parallelism used for this job. This must be greater than 0, if set to less than 0 it will default to 1.- Parameters:
degreeOfParallelism
- the degreeOfParallelism value to set- Returns:
- the JobInformationBasic object itself.
-
priority
Get the priority value for the current job. Lower numbers have a higher priority. By default, a job has a priority of 1000. This must be greater than 0.- Returns:
- the priority value
-
withPriority
Set the priority value for the current job. Lower numbers have a higher priority. By default, a job has a priority of 1000. This must be greater than 0.- Parameters:
priority
- the priority value to set- Returns:
- the JobInformationBasic object itself.
-
submitTime
public org.joda.time.DateTime submitTime()Get the time the job was submitted to the service.- Returns:
- the submitTime value
-
startTime
public org.joda.time.DateTime startTime()Get the start time of the job.- Returns:
- the startTime value
-
endTime
public org.joda.time.DateTime endTime()Get the completion time of the job.- Returns:
- the endTime value
-
state
Get the job state. When the job is in the Ended state, refer to Result and ErrorMessage for details. Possible values include: 'Accepted', 'Compiling', 'Ended', 'New', 'Queued', 'Running', 'Scheduling', 'Starting', 'Paused', 'WaitingForCapacity'.- Returns:
- the state value
-
result
Get the result of job execution or the current result of the running job. Possible values include: 'None', 'Succeeded', 'Cancelled', 'Failed'.- Returns:
- the result value
-
logFolder
Get the log folder path to use in the following format: adl://<accountName>.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/.- Returns:
- the logFolder value
-
logFilePatterns
Get the list of log file name patterns to find in the logFolder. '*' is the only matching character allowed. Example format: jobExecution*.log or *mylog*.txt.- Returns:
- the logFilePatterns value
-
withLogFilePatterns
Set the list of log file name patterns to find in the logFolder. '*' is the only matching character allowed. Example format: jobExecution*.log or *mylog*.txt.- Parameters:
logFilePatterns
- the logFilePatterns value to set- Returns:
- the JobInformationBasic object itself.
-
withRelated
Set the recurring job relationship information properties.- Parameters:
related
- the related value to set- Returns:
- the JobInformationBasic object itself.
-
tags
Get the key-value pairs used to add additional metadata to the job information. (Only for use internally with Scope job type.).- Returns:
- the tags value
-
withTags
Set the key-value pairs used to add additional metadata to the job information. (Only for use internally with Scope job type.).- Parameters:
tags
- the tags value to set- Returns:
- the JobInformationBasic object itself.
-