public class JobUnsuccessfulCompletion
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
JobUnsuccessfulCompletion.Builder
RecordBuilder for JobUnsuccessfulCompletion instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
diagnostics
Deprecated.
|
int |
finishedMaps
Deprecated.
|
int |
finishedReduces
Deprecated.
|
long |
finishTime
Deprecated.
|
CharSequence |
jobid
Deprecated.
|
CharSequence |
jobStatus
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
JobUnsuccessfulCompletion()
Default constructor.
|
JobUnsuccessfulCompletion(CharSequence jobid,
Long finishTime,
Integer finishedMaps,
Integer finishedReduces,
CharSequence jobStatus,
CharSequence diagnostics)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getDiagnostics()
Gets the value of the 'diagnostics' field.
|
Integer |
getFinishedMaps()
Gets the value of the 'finishedMaps' field.
|
Integer |
getFinishedReduces()
Gets the value of the 'finishedReduces' field.
|
Long |
getFinishTime()
Gets the value of the 'finishTime' field.
|
CharSequence |
getJobid()
Gets the value of the 'jobid' field.
|
CharSequence |
getJobStatus()
Gets the value of the 'jobStatus' field.
|
org.apache.avro.Schema |
getSchema() |
static JobUnsuccessfulCompletion.Builder |
newBuilder()
Creates a new JobUnsuccessfulCompletion RecordBuilder
|
static JobUnsuccessfulCompletion.Builder |
newBuilder(JobUnsuccessfulCompletion.Builder other)
Creates a new JobUnsuccessfulCompletion RecordBuilder by copying an existing Builder
|
static JobUnsuccessfulCompletion.Builder |
newBuilder(JobUnsuccessfulCompletion other)
Creates a new JobUnsuccessfulCompletion RecordBuilder by copying an existing JobUnsuccessfulCompletion instance
|
void |
put(int field$,
Object value$) |
void |
setDiagnostics(CharSequence value)
Sets the value of the 'diagnostics' field.
|
void |
setFinishedMaps(Integer value)
Sets the value of the 'finishedMaps' field.
|
void |
setFinishedReduces(Integer value)
Sets the value of the 'finishedReduces' field.
|
void |
setFinishTime(Long value)
Sets the value of the 'finishTime' field.
|
void |
setJobid(CharSequence value)
Sets the value of the 'jobid' field.
|
void |
setJobStatus(CharSequence value)
Sets the value of the 'jobStatus' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence jobid
@Deprecated public long finishTime
@Deprecated public int finishedMaps
@Deprecated public int finishedReduces
@Deprecated public CharSequence jobStatus
@Deprecated public CharSequence diagnostics
public JobUnsuccessfulCompletion()
public JobUnsuccessfulCompletion(CharSequence jobid, Long finishTime, Integer finishedMaps, Integer finishedReduces, CharSequence jobStatus, CharSequence diagnostics)
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 getJobid()
public void setJobid(CharSequence value)
value
- the value to set.public Long getFinishTime()
public void setFinishTime(Long value)
value
- the value to set.public Integer getFinishedMaps()
public void setFinishedMaps(Integer value)
value
- the value to set.public Integer getFinishedReduces()
public void setFinishedReduces(Integer value)
value
- the value to set.public CharSequence getJobStatus()
public void setJobStatus(CharSequence value)
value
- the value to set.public CharSequence getDiagnostics()
public void setDiagnostics(CharSequence value)
value
- the value to set.public static JobUnsuccessfulCompletion.Builder newBuilder()
public static JobUnsuccessfulCompletion.Builder newBuilder(JobUnsuccessfulCompletion.Builder other)
public static JobUnsuccessfulCompletion.Builder newBuilder(JobUnsuccessfulCompletion other)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.