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()
newBuilder().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.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic 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 © 2008–2022 Apache Software Foundation. All rights reserved.