public class ApiActivity extends Object
Constructor and Description |
---|
ApiActivity() |
ApiActivity(String id,
String name,
ApiActivityType type,
ApiActivityStatus status,
String parent,
Date startTime,
Date finishTime,
String user,
String group)
Default view
|
ApiActivity(String id,
String name,
ApiActivityType type,
ApiActivityStatus status,
String parent,
Date startTime,
Date finishTime,
String user,
String group,
String inputDir,
String outputDir,
String mapper,
String combiner,
String reducer,
String queueName,
String schedulerPriority)
Full view of an activity
|
Modifier and Type | Method and Description |
---|---|
String |
getCombiner()
The combiner class.
|
Date |
getFinishTime()
The finish time of this activity.
|
String |
getGroup()
The user-group of this activity.
|
String |
getId()
Activity id, which is unique within a MapReduce service.
|
String |
getInputDir()
The input data directory of the activity.
|
String |
getMapper()
The mapper class.
|
String |
getName()
Activity name.
|
String |
getOutputDir()
The output result directory of the activity.
|
String |
getParent()
The name of the parent activity.
|
String |
getQueueName()
The scheduler queue this activity is in.
|
String |
getReducer()
The reducer class.
|
String |
getSchedulerPriority()
The scheduler priority of this activity.
|
Date |
getStartTime()
The start time of this activity.
|
ApiActivityStatus |
getStatus()
Activity status.
|
ApiActivityType |
getType()
Activity type.
|
String |
getUser()
The user who submitted this activity.
|
void |
setCombiner(String combiner) |
void |
setFinishTime(Date finishTime) |
void |
setGroup(String group) |
void |
setId(String id) |
void |
setInputDir(String inputDir) |
void |
setMapper(String mapper) |
void |
setName(String name) |
void |
setOutputDir(String outputDir) |
void |
setParent(String parent) |
void |
setQueueName(String queueName) |
void |
setReducer(String reducer) |
void |
setSchedulerPriority(String schedulerPriority) |
void |
setStartTime(Date startTime) |
void |
setStatus(ApiActivityStatus status) |
void |
setType(ApiActivityType type) |
void |
setUser(String user) |
String |
toString() |
public ApiActivity()
public ApiActivity(String id, String name, ApiActivityType type, ApiActivityStatus status, String parent, Date startTime, Date finishTime, String user, String group)
id
- The id of the activityname
- The name of the activitytype
- The activity typestatus
- The activity statusparent
- The parent of the activitystartTime
- The time the activity startedfinishTime
- The time the activity finisheduser
- The user running the activitygroup
- The group running the activitypublic ApiActivity(String id, String name, ApiActivityType type, ApiActivityStatus status, String parent, Date startTime, Date finishTime, String user, String group, String inputDir, String outputDir, String mapper, String combiner, String reducer, String queueName, String schedulerPriority)
id
- The activity idname
- The activity nametype
- The type of activitystatus
- The status of the activityparent
- The parent of the activitystartTime
- The time the activity startedfinishTime
- The time the activity finisheduser
- The user who started the activitygroup
- The group of the running activityinputDir
- The input directoryoutputDir
- The output directorymapper
- The mapper class for the activitycombiner
- The combiner class for the activityreducer
- The reducer class for the activityqueueName
- The name of the scheduler queueschedulerPriority
- The scheduler prioritypublic String getName()
public void setName(String name)
public ApiActivityType getType()
public void setType(ApiActivityType type)
public String getParent()
public void setParent(String parent)
public Date getStartTime()
public void setStartTime(Date startTime)
public Date getFinishTime()
public void setFinishTime(Date finishTime)
public String getId()
public void setId(String id)
public ApiActivityStatus getStatus()
public void setStatus(ApiActivityStatus status)
public String getUser()
public void setUser(String user)
public String getGroup()
public void setGroup(String group)
public String getInputDir()
public void setInputDir(String inputDir)
public String getOutputDir()
public void setOutputDir(String outputDir)
public String getMapper()
public void setMapper(String mapper)
public String getCombiner()
public void setCombiner(String combiner)
public String getReducer()
public void setReducer(String reducer)
public String getQueueName()
public void setQueueName(String queueName)
public String getSchedulerPriority()
public void setSchedulerPriority(String schedulerPriority)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.