
gobblin.rest.JobExecutionInfo Maven / Gradle / Ivy
The newest version!
package gobblin.rest;
import java.util.List;
import javax.annotation.Generated;
import com.linkedin.data.DataMap;
import com.linkedin.data.schema.PathSpec;
import com.linkedin.data.schema.RecordDataSchema;
import com.linkedin.data.template.DataTemplateUtil;
import com.linkedin.data.template.GetMode;
import com.linkedin.data.template.RecordTemplate;
import com.linkedin.data.template.SetMode;
import com.linkedin.data.template.StringMap;
/**
* Gobblin job execution information
*
*/
@Generated(value = "com.linkedin.pegasus.generator.PegasusDataTemplateGenerator", comments = "LinkedIn Data Template. Generated from /Users/stakiar/Documents/idea_linkedin/gobblin-proxy_trunk/gobblin-github/gobblin-rest-service/gobblin-rest-api/src/main/pegasus/gobblin/rest/JobExecutionInfo.pdsc.", date = "Thu May 12 11:38:45 PDT 2016")
public class JobExecutionInfo
extends RecordTemplate
{
private final static JobExecutionInfo.Fields _fields = new JobExecutionInfo.Fields();
private final static RecordDataSchema SCHEMA = ((RecordDataSchema) DataTemplateUtil.parseSchema("{\"type\":\"record\",\"name\":\"JobExecutionInfo\",\"namespace\":\"gobblin.rest\",\"doc\":\"Gobblin job execution information\",\"fields\":[{\"name\":\"jobName\",\"type\":\"string\",\"doc\":\"Job name\"},{\"name\":\"jobId\",\"type\":\"string\",\"doc\":\"Job ID\"},{\"name\":\"startTime\",\"type\":\"long\",\"doc\":\"Job start time (epoch time)\",\"optional\":true},{\"name\":\"endTime\",\"type\":\"long\",\"doc\":\"Job end time (epoch time)\",\"optional\":true},{\"name\":\"duration\",\"type\":\"long\",\"doc\":\"Job duration in milliseconds\",\"optional\":true},{\"name\":\"state\",\"type\":{\"type\":\"enum\",\"name\":\"JobStateEnum\",\"symbols\":[\"PENDING\",\"RUNNING\",\"SUCCESSFUL\",\"COMMITTED\",\"FAILED\",\"CANCELLED\"]},\"doc\":\"Job state\",\"optional\":true},{\"name\":\"launchedTasks\",\"type\":\"int\",\"doc\":\"Number of launched tasks\",\"optional\":true},{\"name\":\"completedTasks\",\"type\":\"int\",\"doc\":\"Number of completed tasks\",\"optional\":true},{\"name\":\"launcherType\",\"type\":{\"type\":\"enum\",\"name\":\"LauncherTypeEnum\",\"symbols\":[\"LOCAL\",\"MAPREDUCE\",\"YARN\"]},\"doc\":\"Job launcher type\",\"optional\":true},{\"name\":\"trackingUrl\",\"type\":\"string\",\"doc\":\"Job execution tracking URL\",\"optional\":true},{\"name\":\"taskExecutions\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"TaskExecutionInfo\",\"doc\":\"Gobblin task execution information\",\"fields\":[{\"name\":\"jobId\",\"type\":\"string\",\"doc\":\"Job ID\"},{\"name\":\"taskId\",\"type\":\"string\",\"doc\":\"Task ID\"},{\"name\":\"startTime\",\"type\":\"long\",\"doc\":\"Task start time (epoch time)\",\"optional\":true},{\"name\":\"endTime\",\"type\":\"long\",\"doc\":\"Task end time (epoch time)\",\"optional\":true},{\"name\":\"duration\",\"type\":\"long\",\"doc\":\"Task duration in milliseconds\",\"optional\":true},{\"name\":\"state\",\"type\":{\"type\":\"enum\",\"name\":\"TaskStateEnum\",\"symbols\":[\"PENDING\",\"RUNNING\",\"SUCCESSFUL\",\"COMMITTED\",\"FAILED\",\"CANCELLED\"]},\"doc\":\"Task state\",\"optional\":true},{\"name\":\"failureException\",\"type\":\"string\",\"doc\":\"Task failure exception message\",\"optional\":true},{\"name\":\"lowWatermark\",\"type\":\"long\",\"doc\":\"Low watermark\",\"optional\":true},{\"name\":\"highWatermark\",\"type\":\"long\",\"doc\":\"High watermark\",\"optional\":true},{\"name\":\"table\",\"type\":{\"type\":\"record\",\"name\":\"Table\",\"doc\":\"Gobblin table definition\",\"fields\":[{\"name\":\"namespace\",\"type\":\"string\",\"doc\":\"Table namespace\",\"optional\":true},{\"name\":\"name\",\"type\":\"string\",\"doc\":\"Table name\"},{\"name\":\"type\",\"type\":{\"type\":\"enum\",\"name\":\"TableTypeEnum\",\"symbols\":[\"SNAPSHOT_ONLY\",\"SNAPSHOT_APPEND\",\"APPEND_ONLY\"]},\"doc\":\"Table type\",\"optional\":true}]},\"doc\":\"Table definition\",\"optional\":true},{\"name\":\"taskProperties\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"doc\":\"Task properties\",\"optional\":true},{\"name\":\"metrics\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"record\",\"name\":\"Metric\",\"doc\":\"Gobblin metric\",\"fields\":[{\"name\":\"group\",\"type\":\"string\",\"doc\":\"Metric group\"},{\"name\":\"name\",\"type\":\"string\",\"doc\":\"Metric name\"},{\"name\":\"type\",\"type\":{\"type\":\"enum\",\"name\":\"MetricTypeEnum\",\"symbols\":[\"COUNTER\",\"METER\",\"GAUGE\"]},\"doc\":\"Metric type\"},{\"name\":\"value\",\"type\":\"string\",\"doc\":\"Metric value\"}]}},\"doc\":\"Job metrics\"}]}},\"doc\":\"An array of task execution information records\"},{\"name\":\"jobProperties\",\"type\":{\"type\":\"map\",\"values\":\"string\"},\"doc\":\"Job properties\",\"optional\":true},{\"name\":\"metrics\",\"type\":{\"type\":\"array\",\"items\":\"Metric\"},\"doc\":\"Job metrics\"}]}"));
private final static RecordDataSchema.Field FIELD_JobName = SCHEMA.getField("jobName");
private final static RecordDataSchema.Field FIELD_JobId = SCHEMA.getField("jobId");
private final static RecordDataSchema.Field FIELD_StartTime = SCHEMA.getField("startTime");
private final static RecordDataSchema.Field FIELD_EndTime = SCHEMA.getField("endTime");
private final static RecordDataSchema.Field FIELD_Duration = SCHEMA.getField("duration");
private final static RecordDataSchema.Field FIELD_State = SCHEMA.getField("state");
private final static RecordDataSchema.Field FIELD_LaunchedTasks = SCHEMA.getField("launchedTasks");
private final static RecordDataSchema.Field FIELD_CompletedTasks = SCHEMA.getField("completedTasks");
private final static RecordDataSchema.Field FIELD_LauncherType = SCHEMA.getField("launcherType");
private final static RecordDataSchema.Field FIELD_TrackingUrl = SCHEMA.getField("trackingUrl");
private final static RecordDataSchema.Field FIELD_TaskExecutions = SCHEMA.getField("taskExecutions");
private final static RecordDataSchema.Field FIELD_JobProperties = SCHEMA.getField("jobProperties");
private final static RecordDataSchema.Field FIELD_Metrics = SCHEMA.getField("metrics");
public JobExecutionInfo() {
super(new DataMap(), SCHEMA);
}
public JobExecutionInfo(DataMap data) {
super(data, SCHEMA);
}
public static JobExecutionInfo.Fields fields() {
return _fields;
}
/**
* Existence checker for jobName
*
* @see Fields#jobName
*/
public boolean hasJobName() {
return contains(FIELD_JobName);
}
/**
* Remover for jobName
*
* @see Fields#jobName
*/
public void removeJobName() {
remove(FIELD_JobName);
}
/**
* Getter for jobName
*
* @see Fields#jobName
*/
public String getJobName(GetMode mode) {
return obtainDirect(FIELD_JobName, String.class, mode);
}
/**
* Getter for jobName
*
* @see Fields#jobName
*/
public String getJobName() {
return getJobName(GetMode.STRICT);
}
/**
* Setter for jobName
*
* @see Fields#jobName
*/
public JobExecutionInfo setJobName(String value, SetMode mode) {
putDirect(FIELD_JobName, String.class, String.class, value, mode);
return this;
}
/**
* Setter for jobName
*
* @see Fields#jobName
*/
public JobExecutionInfo setJobName(String value) {
putDirect(FIELD_JobName, String.class, String.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for jobId
*
* @see Fields#jobId
*/
public boolean hasJobId() {
return contains(FIELD_JobId);
}
/**
* Remover for jobId
*
* @see Fields#jobId
*/
public void removeJobId() {
remove(FIELD_JobId);
}
/**
* Getter for jobId
*
* @see Fields#jobId
*/
public String getJobId(GetMode mode) {
return obtainDirect(FIELD_JobId, String.class, mode);
}
/**
* Getter for jobId
*
* @see Fields#jobId
*/
public String getJobId() {
return getJobId(GetMode.STRICT);
}
/**
* Setter for jobId
*
* @see Fields#jobId
*/
public JobExecutionInfo setJobId(String value, SetMode mode) {
putDirect(FIELD_JobId, String.class, String.class, value, mode);
return this;
}
/**
* Setter for jobId
*
* @see Fields#jobId
*/
public JobExecutionInfo setJobId(String value) {
putDirect(FIELD_JobId, String.class, String.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for startTime
*
* @see Fields#startTime
*/
public boolean hasStartTime() {
return contains(FIELD_StartTime);
}
/**
* Remover for startTime
*
* @see Fields#startTime
*/
public void removeStartTime() {
remove(FIELD_StartTime);
}
/**
* Getter for startTime
*
* @see Fields#startTime
*/
public Long getStartTime(GetMode mode) {
return obtainDirect(FIELD_StartTime, Long.class, mode);
}
/**
* Getter for startTime
*
* @see Fields#startTime
*/
public Long getStartTime() {
return getStartTime(GetMode.STRICT);
}
/**
* Setter for startTime
*
* @see Fields#startTime
*/
public JobExecutionInfo setStartTime(Long value, SetMode mode) {
putDirect(FIELD_StartTime, Long.class, Long.class, value, mode);
return this;
}
/**
* Setter for startTime
*
* @see Fields#startTime
*/
public JobExecutionInfo setStartTime(Long value) {
putDirect(FIELD_StartTime, Long.class, Long.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Setter for startTime
*
* @see Fields#startTime
*/
public JobExecutionInfo setStartTime(long value) {
putDirect(FIELD_StartTime, Long.class, Long.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for endTime
*
* @see Fields#endTime
*/
public boolean hasEndTime() {
return contains(FIELD_EndTime);
}
/**
* Remover for endTime
*
* @see Fields#endTime
*/
public void removeEndTime() {
remove(FIELD_EndTime);
}
/**
* Getter for endTime
*
* @see Fields#endTime
*/
public Long getEndTime(GetMode mode) {
return obtainDirect(FIELD_EndTime, Long.class, mode);
}
/**
* Getter for endTime
*
* @see Fields#endTime
*/
public Long getEndTime() {
return getEndTime(GetMode.STRICT);
}
/**
* Setter for endTime
*
* @see Fields#endTime
*/
public JobExecutionInfo setEndTime(Long value, SetMode mode) {
putDirect(FIELD_EndTime, Long.class, Long.class, value, mode);
return this;
}
/**
* Setter for endTime
*
* @see Fields#endTime
*/
public JobExecutionInfo setEndTime(Long value) {
putDirect(FIELD_EndTime, Long.class, Long.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Setter for endTime
*
* @see Fields#endTime
*/
public JobExecutionInfo setEndTime(long value) {
putDirect(FIELD_EndTime, Long.class, Long.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for duration
*
* @see Fields#duration
*/
public boolean hasDuration() {
return contains(FIELD_Duration);
}
/**
* Remover for duration
*
* @see Fields#duration
*/
public void removeDuration() {
remove(FIELD_Duration);
}
/**
* Getter for duration
*
* @see Fields#duration
*/
public Long getDuration(GetMode mode) {
return obtainDirect(FIELD_Duration, Long.class, mode);
}
/**
* Getter for duration
*
* @see Fields#duration
*/
public Long getDuration() {
return getDuration(GetMode.STRICT);
}
/**
* Setter for duration
*
* @see Fields#duration
*/
public JobExecutionInfo setDuration(Long value, SetMode mode) {
putDirect(FIELD_Duration, Long.class, Long.class, value, mode);
return this;
}
/**
* Setter for duration
*
* @see Fields#duration
*/
public JobExecutionInfo setDuration(Long value) {
putDirect(FIELD_Duration, Long.class, Long.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Setter for duration
*
* @see Fields#duration
*/
public JobExecutionInfo setDuration(long value) {
putDirect(FIELD_Duration, Long.class, Long.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for state
*
* @see Fields#state
*/
public boolean hasState() {
return contains(FIELD_State);
}
/**
* Remover for state
*
* @see Fields#state
*/
public void removeState() {
remove(FIELD_State);
}
/**
* Getter for state
*
* @see Fields#state
*/
public JobStateEnum getState(GetMode mode) {
return obtainDirect(FIELD_State, JobStateEnum.class, mode);
}
/**
* Getter for state
*
* @see Fields#state
*/
public JobStateEnum getState() {
return getState(GetMode.STRICT);
}
/**
* Setter for state
*
* @see Fields#state
*/
public JobExecutionInfo setState(JobStateEnum value, SetMode mode) {
putDirect(FIELD_State, JobStateEnum.class, String.class, value, mode);
return this;
}
/**
* Setter for state
*
* @see Fields#state
*/
public JobExecutionInfo setState(JobStateEnum value) {
putDirect(FIELD_State, JobStateEnum.class, String.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for launchedTasks
*
* @see Fields#launchedTasks
*/
public boolean hasLaunchedTasks() {
return contains(FIELD_LaunchedTasks);
}
/**
* Remover for launchedTasks
*
* @see Fields#launchedTasks
*/
public void removeLaunchedTasks() {
remove(FIELD_LaunchedTasks);
}
/**
* Getter for launchedTasks
*
* @see Fields#launchedTasks
*/
public Integer getLaunchedTasks(GetMode mode) {
return obtainDirect(FIELD_LaunchedTasks, Integer.class, mode);
}
/**
* Getter for launchedTasks
*
* @see Fields#launchedTasks
*/
public Integer getLaunchedTasks() {
return getLaunchedTasks(GetMode.STRICT);
}
/**
* Setter for launchedTasks
*
* @see Fields#launchedTasks
*/
public JobExecutionInfo setLaunchedTasks(Integer value, SetMode mode) {
putDirect(FIELD_LaunchedTasks, Integer.class, Integer.class, value, mode);
return this;
}
/**
* Setter for launchedTasks
*
* @see Fields#launchedTasks
*/
public JobExecutionInfo setLaunchedTasks(Integer value) {
putDirect(FIELD_LaunchedTasks, Integer.class, Integer.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Setter for launchedTasks
*
* @see Fields#launchedTasks
*/
public JobExecutionInfo setLaunchedTasks(int value) {
putDirect(FIELD_LaunchedTasks, Integer.class, Integer.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for completedTasks
*
* @see Fields#completedTasks
*/
public boolean hasCompletedTasks() {
return contains(FIELD_CompletedTasks);
}
/**
* Remover for completedTasks
*
* @see Fields#completedTasks
*/
public void removeCompletedTasks() {
remove(FIELD_CompletedTasks);
}
/**
* Getter for completedTasks
*
* @see Fields#completedTasks
*/
public Integer getCompletedTasks(GetMode mode) {
return obtainDirect(FIELD_CompletedTasks, Integer.class, mode);
}
/**
* Getter for completedTasks
*
* @see Fields#completedTasks
*/
public Integer getCompletedTasks() {
return getCompletedTasks(GetMode.STRICT);
}
/**
* Setter for completedTasks
*
* @see Fields#completedTasks
*/
public JobExecutionInfo setCompletedTasks(Integer value, SetMode mode) {
putDirect(FIELD_CompletedTasks, Integer.class, Integer.class, value, mode);
return this;
}
/**
* Setter for completedTasks
*
* @see Fields#completedTasks
*/
public JobExecutionInfo setCompletedTasks(Integer value) {
putDirect(FIELD_CompletedTasks, Integer.class, Integer.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Setter for completedTasks
*
* @see Fields#completedTasks
*/
public JobExecutionInfo setCompletedTasks(int value) {
putDirect(FIELD_CompletedTasks, Integer.class, Integer.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for launcherType
*
* @see Fields#launcherType
*/
public boolean hasLauncherType() {
return contains(FIELD_LauncherType);
}
/**
* Remover for launcherType
*
* @see Fields#launcherType
*/
public void removeLauncherType() {
remove(FIELD_LauncherType);
}
/**
* Getter for launcherType
*
* @see Fields#launcherType
*/
public LauncherTypeEnum getLauncherType(GetMode mode) {
return obtainDirect(FIELD_LauncherType, LauncherTypeEnum.class, mode);
}
/**
* Getter for launcherType
*
* @see Fields#launcherType
*/
public LauncherTypeEnum getLauncherType() {
return getLauncherType(GetMode.STRICT);
}
/**
* Setter for launcherType
*
* @see Fields#launcherType
*/
public JobExecutionInfo setLauncherType(LauncherTypeEnum value, SetMode mode) {
putDirect(FIELD_LauncherType, LauncherTypeEnum.class, String.class, value, mode);
return this;
}
/**
* Setter for launcherType
*
* @see Fields#launcherType
*/
public JobExecutionInfo setLauncherType(LauncherTypeEnum value) {
putDirect(FIELD_LauncherType, LauncherTypeEnum.class, String.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for trackingUrl
*
* @see Fields#trackingUrl
*/
public boolean hasTrackingUrl() {
return contains(FIELD_TrackingUrl);
}
/**
* Remover for trackingUrl
*
* @see Fields#trackingUrl
*/
public void removeTrackingUrl() {
remove(FIELD_TrackingUrl);
}
/**
* Getter for trackingUrl
*
* @see Fields#trackingUrl
*/
public String getTrackingUrl(GetMode mode) {
return obtainDirect(FIELD_TrackingUrl, String.class, mode);
}
/**
* Getter for trackingUrl
*
* @see Fields#trackingUrl
*/
public String getTrackingUrl() {
return getTrackingUrl(GetMode.STRICT);
}
/**
* Setter for trackingUrl
*
* @see Fields#trackingUrl
*/
public JobExecutionInfo setTrackingUrl(String value, SetMode mode) {
putDirect(FIELD_TrackingUrl, String.class, String.class, value, mode);
return this;
}
/**
* Setter for trackingUrl
*
* @see Fields#trackingUrl
*/
public JobExecutionInfo setTrackingUrl(String value) {
putDirect(FIELD_TrackingUrl, String.class, String.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for taskExecutions
*
* @see Fields#taskExecutions
*/
public boolean hasTaskExecutions() {
return contains(FIELD_TaskExecutions);
}
/**
* Remover for taskExecutions
*
* @see Fields#taskExecutions
*/
public void removeTaskExecutions() {
remove(FIELD_TaskExecutions);
}
/**
* Getter for taskExecutions
*
* @see Fields#taskExecutions
*/
public TaskExecutionInfoArray getTaskExecutions(GetMode mode) {
return obtainWrapped(FIELD_TaskExecutions, TaskExecutionInfoArray.class, mode);
}
/**
* Getter for taskExecutions
*
* @see Fields#taskExecutions
*/
public TaskExecutionInfoArray getTaskExecutions() {
return getTaskExecutions(GetMode.STRICT);
}
/**
* Setter for taskExecutions
*
* @see Fields#taskExecutions
*/
public JobExecutionInfo setTaskExecutions(TaskExecutionInfoArray value, SetMode mode) {
putWrapped(FIELD_TaskExecutions, TaskExecutionInfoArray.class, value, mode);
return this;
}
/**
* Setter for taskExecutions
*
* @see Fields#taskExecutions
*/
public JobExecutionInfo setTaskExecutions(TaskExecutionInfoArray value) {
putWrapped(FIELD_TaskExecutions, TaskExecutionInfoArray.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for jobProperties
*
* @see Fields#jobProperties
*/
public boolean hasJobProperties() {
return contains(FIELD_JobProperties);
}
/**
* Remover for jobProperties
*
* @see Fields#jobProperties
*/
public void removeJobProperties() {
remove(FIELD_JobProperties);
}
/**
* Getter for jobProperties
*
* @see Fields#jobProperties
*/
public StringMap getJobProperties(GetMode mode) {
return obtainWrapped(FIELD_JobProperties, StringMap.class, mode);
}
/**
* Getter for jobProperties
*
* @see Fields#jobProperties
*/
public StringMap getJobProperties() {
return getJobProperties(GetMode.STRICT);
}
/**
* Setter for jobProperties
*
* @see Fields#jobProperties
*/
public JobExecutionInfo setJobProperties(StringMap value, SetMode mode) {
putWrapped(FIELD_JobProperties, StringMap.class, value, mode);
return this;
}
/**
* Setter for jobProperties
*
* @see Fields#jobProperties
*/
public JobExecutionInfo setJobProperties(StringMap value) {
putWrapped(FIELD_JobProperties, StringMap.class, value, SetMode.DISALLOW_NULL);
return this;
}
/**
* Existence checker for metrics
*
* @see Fields#metrics
*/
public boolean hasMetrics() {
return contains(FIELD_Metrics);
}
/**
* Remover for metrics
*
* @see Fields#metrics
*/
public void removeMetrics() {
remove(FIELD_Metrics);
}
/**
* Getter for metrics
*
* @see Fields#metrics
*/
public MetricArray getMetrics(GetMode mode) {
return obtainWrapped(FIELD_Metrics, MetricArray.class, mode);
}
/**
* Getter for metrics
*
* @see Fields#metrics
*/
public MetricArray getMetrics() {
return getMetrics(GetMode.STRICT);
}
/**
* Setter for metrics
*
* @see Fields#metrics
*/
public JobExecutionInfo setMetrics(MetricArray value, SetMode mode) {
putWrapped(FIELD_Metrics, MetricArray.class, value, mode);
return this;
}
/**
* Setter for metrics
*
* @see Fields#metrics
*/
public JobExecutionInfo setMetrics(MetricArray value) {
putWrapped(FIELD_Metrics, MetricArray.class, value, SetMode.DISALLOW_NULL);
return this;
}
@Override
public JobExecutionInfo clone()
throws CloneNotSupportedException
{
return ((JobExecutionInfo) super.clone());
}
@Override
public JobExecutionInfo copy()
throws CloneNotSupportedException
{
return ((JobExecutionInfo) super.copy());
}
public static class Fields
extends PathSpec
{
public Fields(List path, String name) {
super(path, name);
}
public Fields() {
super();
}
/**
* Job name
*
*/
public PathSpec jobName() {
return new PathSpec(getPathComponents(), "jobName");
}
/**
* Job ID
*
*/
public PathSpec jobId() {
return new PathSpec(getPathComponents(), "jobId");
}
/**
* Job start time (epoch time)
*
*/
public PathSpec startTime() {
return new PathSpec(getPathComponents(), "startTime");
}
/**
* Job end time (epoch time)
*
*/
public PathSpec endTime() {
return new PathSpec(getPathComponents(), "endTime");
}
/**
* Job duration in milliseconds
*
*/
public PathSpec duration() {
return new PathSpec(getPathComponents(), "duration");
}
/**
* Job state
*
*/
public PathSpec state() {
return new PathSpec(getPathComponents(), "state");
}
/**
* Number of launched tasks
*
*/
public PathSpec launchedTasks() {
return new PathSpec(getPathComponents(), "launchedTasks");
}
/**
* Number of completed tasks
*
*/
public PathSpec completedTasks() {
return new PathSpec(getPathComponents(), "completedTasks");
}
/**
* Job launcher type
*
*/
public PathSpec launcherType() {
return new PathSpec(getPathComponents(), "launcherType");
}
/**
* Job execution tracking URL
*
*/
public PathSpec trackingUrl() {
return new PathSpec(getPathComponents(), "trackingUrl");
}
/**
* An array of task execution information records
*
*/
public gobblin.rest.TaskExecutionInfoArray.Fields taskExecutions() {
return new gobblin.rest.TaskExecutionInfoArray.Fields(getPathComponents(), "taskExecutions");
}
/**
* Job properties
*
*/
public PathSpec jobProperties() {
return new PathSpec(getPathComponents(), "jobProperties");
}
/**
* Job metrics
*
*/
public gobblin.rest.MetricArray.Fields metrics() {
return new gobblin.rest.MetricArray.Fields(getPathComponents(), "metrics");
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy