public class TaskFinished
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
TaskFinished.Builder
RecordBuilder for TaskFinished instances.
|
Modifier and Type | Field and Description |
---|---|
JhCounters |
counters
Deprecated.
|
long |
finishTime
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
status
Deprecated.
|
CharSequence |
successfulAttemptId
Deprecated.
|
CharSequence |
taskid
Deprecated.
|
CharSequence |
taskType
Deprecated.
|
Constructor and Description |
---|
TaskFinished()
Default constructor.
|
TaskFinished(CharSequence taskid,
CharSequence taskType,
Long finishTime,
CharSequence status,
JhCounters counters,
CharSequence successfulAttemptId)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
JhCounters |
getCounters()
Gets the value of the 'counters' field.
|
Long |
getFinishTime()
Gets the value of the 'finishTime' field.
|
org.apache.avro.Schema |
getSchema() |
CharSequence |
getStatus()
Gets the value of the 'status' field.
|
CharSequence |
getSuccessfulAttemptId()
Gets the value of the 'successfulAttemptId' field.
|
CharSequence |
getTaskid()
Gets the value of the 'taskid' field.
|
CharSequence |
getTaskType()
Gets the value of the 'taskType' field.
|
static TaskFinished.Builder |
newBuilder()
Creates a new TaskFinished RecordBuilder
|
static TaskFinished.Builder |
newBuilder(TaskFinished.Builder other)
Creates a new TaskFinished RecordBuilder by copying an existing Builder
|
static TaskFinished.Builder |
newBuilder(TaskFinished other)
Creates a new TaskFinished RecordBuilder by copying an existing TaskFinished instance
|
void |
put(int field$,
Object value$) |
void |
setCounters(JhCounters value)
Sets the value of the 'counters' field.
|
void |
setFinishTime(Long value)
Sets the value of the 'finishTime' field.
|
void |
setStatus(CharSequence value)
Sets the value of the 'status' field.
|
void |
setSuccessfulAttemptId(CharSequence value)
Sets the value of the 'successfulAttemptId' field.
|
void |
setTaskid(CharSequence value)
Sets the value of the 'taskid' field.
|
void |
setTaskType(CharSequence value)
Sets the value of the 'taskType' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence taskid
@Deprecated public CharSequence taskType
@Deprecated public long finishTime
@Deprecated public CharSequence status
@Deprecated public JhCounters counters
@Deprecated public CharSequence successfulAttemptId
public TaskFinished()
public TaskFinished(CharSequence taskid, CharSequence taskType, Long finishTime, CharSequence status, JhCounters counters, CharSequence successfulAttemptId)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public CharSequence getTaskid()
public void setTaskid(CharSequence value)
value
- the value to set.public CharSequence getTaskType()
public void setTaskType(CharSequence value)
value
- the value to set.public Long getFinishTime()
public void setFinishTime(Long value)
value
- the value to set.public CharSequence getStatus()
public void setStatus(CharSequence value)
value
- the value to set.public JhCounters getCounters()
public void setCounters(JhCounters value)
value
- the value to set.public CharSequence getSuccessfulAttemptId()
public void setSuccessfulAttemptId(CharSequence value)
value
- the value to set.public static TaskFinished.Builder newBuilder()
public static TaskFinished.Builder newBuilder(TaskFinished.Builder other)
public static TaskFinished.Builder newBuilder(TaskFinished other)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.