public class JobPriorityChange
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
JobPriorityChange.Builder
RecordBuilder for JobPriorityChange instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
jobid
Deprecated.
|
CharSequence |
priority
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
JobPriorityChange()
Default constructor.
|
JobPriorityChange(CharSequence jobid,
CharSequence priority)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getJobid()
Gets the value of the 'jobid' field.
|
CharSequence |
getPriority()
Gets the value of the 'priority' field.
|
org.apache.avro.Schema |
getSchema() |
static JobPriorityChange.Builder |
newBuilder()
Creates a new JobPriorityChange RecordBuilder
|
static JobPriorityChange.Builder |
newBuilder(JobPriorityChange.Builder other)
Creates a new JobPriorityChange RecordBuilder by copying an existing Builder
|
static JobPriorityChange.Builder |
newBuilder(JobPriorityChange other)
Creates a new JobPriorityChange RecordBuilder by copying an existing JobPriorityChange instance
|
void |
put(int field$,
Object value$) |
void |
setJobid(CharSequence value)
Sets the value of the 'jobid' field.
|
void |
setPriority(CharSequence value)
Sets the value of the 'priority' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence jobid
@Deprecated public CharSequence priority
public JobPriorityChange()
public JobPriorityChange(CharSequence jobid, CharSequence priority)
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 CharSequence getPriority()
public void setPriority(CharSequence value)
value
- the value to set.public static JobPriorityChange.Builder newBuilder()
public static JobPriorityChange.Builder newBuilder(JobPriorityChange.Builder other)
public static JobPriorityChange.Builder newBuilder(JobPriorityChange other)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.