public class TaskFailed
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
TaskFailed.Builder
RecordBuilder for TaskFailed instances.
|
Modifier and Type | Field and Description |
---|---|
JhCounters |
counters
Deprecated.
|
CharSequence |
error
Deprecated.
|
CharSequence |
failedDueToAttempt
Deprecated.
|
long |
finishTime
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
status
Deprecated.
|
CharSequence |
taskid
Deprecated.
|
CharSequence |
taskType
Deprecated.
|
Constructor and Description |
---|
TaskFailed()
Default constructor.
|
TaskFailed(CharSequence taskid,
CharSequence taskType,
Long finishTime,
CharSequence error,
CharSequence failedDueToAttempt,
CharSequence status,
JhCounters counters)
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.
|
CharSequence |
getError()
Gets the value of the 'error' field.
|
CharSequence |
getFailedDueToAttempt()
Gets the value of the 'failedDueToAttempt' 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 |
getTaskid()
Gets the value of the 'taskid' field.
|
CharSequence |
getTaskType()
Gets the value of the 'taskType' field.
|
static TaskFailed.Builder |
newBuilder()
Creates a new TaskFailed RecordBuilder
|
static TaskFailed.Builder |
newBuilder(TaskFailed.Builder other)
Creates a new TaskFailed RecordBuilder by copying an existing Builder
|
static TaskFailed.Builder |
newBuilder(TaskFailed other)
Creates a new TaskFailed RecordBuilder by copying an existing TaskFailed instance
|
void |
put(int field$,
Object value$) |
void |
setCounters(JhCounters value)
Sets the value of the 'counters' field.
|
void |
setError(CharSequence value)
Sets the value of the 'error' field.
|
void |
setFailedDueToAttempt(CharSequence value)
Sets the value of the 'failedDueToAttempt' field.
|
void |
setFinishTime(Long value)
Sets the value of the 'finishTime' field.
|
void |
setStatus(CharSequence value)
Sets the value of the 'status' 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 error
@Deprecated public CharSequence failedDueToAttempt
@Deprecated public CharSequence status
@Deprecated public JhCounters counters
public TaskFailed()
newBuilder()
.public TaskFailed(CharSequence taskid, CharSequence taskType, Long finishTime, CharSequence error, CharSequence failedDueToAttempt, CharSequence status, JhCounters counters)
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 getError()
public void setError(CharSequence value)
value
- the value to set.public CharSequence getFailedDueToAttempt()
public void setFailedDueToAttempt(CharSequence 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 static TaskFailed.Builder newBuilder()
public static TaskFailed.Builder newBuilder(TaskFailed.Builder other)
public static TaskFailed.Builder newBuilder(TaskFailed other)
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.