public class JobInformationBasic extends Object
Constructor and Description |
---|
JobInformationBasic() |
Modifier and Type | Method and Description |
---|---|
Integer |
degreeOfParallelism()
Get the degree of parallelism used for this job.
|
org.joda.time.DateTime |
endTime()
Get the completion time of the job.
|
UUID |
jobId()
Get the job's unique identifier (a GUID).
|
List<String> |
logFilePatterns()
Get the list of log file name patterns to find in the logFolder.
|
String |
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/.
|
String |
name()
Get the friendly name of the job.
|
Integer |
priority()
Get the priority value for the current job.
|
JobRelationshipProperties |
related()
Get the recurring job relationship information properties.
|
JobResult |
result()
Get the result of job execution or the current result of the running job.
|
org.joda.time.DateTime |
startTime()
Get the start time of the job.
|
JobState |
state()
Get the job state.
|
String |
submitter()
Get the user or account that submitted the job.
|
org.joda.time.DateTime |
submitTime()
Get the time the job was submitted to the service.
|
Map<String,String> |
tags()
Get the key-value pairs used to add additional metadata to the job information.
|
JobType |
type()
Get the job type of the current job (Hive, USql, or Scope (for internal use only)).
|
JobInformationBasic |
withDegreeOfParallelism(Integer degreeOfParallelism)
Set the degree of parallelism used for this job.
|
JobInformationBasic |
withLogFilePatterns(List<String> logFilePatterns)
Set the list of log file name patterns to find in the logFolder.
|
JobInformationBasic |
withName(String name)
Set the friendly name of the job.
|
JobInformationBasic |
withPriority(Integer priority)
Set the priority value for the current job.
|
JobInformationBasic |
withRelated(JobRelationshipProperties related)
Set the recurring job relationship information properties.
|
JobInformationBasic |
withTags(Map<String,String> tags)
Set the key-value pairs used to add additional metadata to the job information.
|
JobInformationBasic |
withType(JobType type)
Set the job type of the current job (Hive, USql, or Scope (for internal use only)).
|
public UUID jobId()
public String name()
public JobInformationBasic withName(String name)
name
- the name value to setpublic JobType type()
public JobInformationBasic withType(JobType type)
type
- the type value to setpublic String submitter()
public Integer degreeOfParallelism()
public JobInformationBasic withDegreeOfParallelism(Integer degreeOfParallelism)
degreeOfParallelism
- the degreeOfParallelism value to setpublic Integer priority()
public JobInformationBasic withPriority(Integer priority)
priority
- the priority value to setpublic org.joda.time.DateTime submitTime()
public org.joda.time.DateTime startTime()
public org.joda.time.DateTime endTime()
public JobState state()
public JobResult result()
public String logFolder()
public List<String> logFilePatterns()
public JobInformationBasic withLogFilePatterns(List<String> logFilePatterns)
logFilePatterns
- the logFilePatterns value to setpublic JobRelationshipProperties related()
public JobInformationBasic withRelated(JobRelationshipProperties related)
related
- the related value to setpublic Map<String,String> tags()
public JobInformationBasic withTags(Map<String,String> tags)
tags
- the tags value to setCopyright © 2019. All rights reserved.