public class TaskStarted
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
TaskStarted.Builder
RecordBuilder for TaskStarted instances.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
splitLocations
Deprecated.
|
long |
startTime
Deprecated.
|
CharSequence |
taskid
Deprecated.
|
CharSequence |
taskType
Deprecated.
|
Constructor and Description |
---|
TaskStarted()
Default constructor.
|
TaskStarted(CharSequence taskid,
CharSequence taskType,
Long startTime,
CharSequence splitLocations)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
org.apache.avro.Schema |
getSchema() |
CharSequence |
getSplitLocations()
Gets the value of the 'splitLocations' field.
|
Long |
getStartTime()
Gets the value of the 'startTime' field.
|
CharSequence |
getTaskid()
Gets the value of the 'taskid' field.
|
CharSequence |
getTaskType()
Gets the value of the 'taskType' field.
|
static TaskStarted.Builder |
newBuilder()
Creates a new TaskStarted RecordBuilder
|
static TaskStarted.Builder |
newBuilder(TaskStarted.Builder other)
Creates a new TaskStarted RecordBuilder by copying an existing Builder
|
static TaskStarted.Builder |
newBuilder(TaskStarted other)
Creates a new TaskStarted RecordBuilder by copying an existing TaskStarted instance
|
void |
put(int field$,
Object value$) |
void |
setSplitLocations(CharSequence value)
Sets the value of the 'splitLocations' field.
|
void |
setStartTime(Long value)
Sets the value of the 'startTime' 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 startTime
@Deprecated public CharSequence splitLocations
public TaskStarted()
public TaskStarted(CharSequence taskid, CharSequence taskType, Long startTime, CharSequence splitLocations)
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 getStartTime()
public void setStartTime(Long value)
value
- the value to set.public CharSequence getSplitLocations()
public void setSplitLocations(CharSequence value)
value
- the value to set.public static TaskStarted.Builder newBuilder()
public static TaskStarted.Builder newBuilder(TaskStarted.Builder other)
public static TaskStarted.Builder newBuilder(TaskStarted other)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.