org.apache.hadoop.mapreduce.jobhistory
Class AMStarted

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by org.apache.hadoop.mapreduce.jobhistory.AMStarted
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord

public class AMStarted
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord


Nested Class Summary
static class AMStarted.Builder
          RecordBuilder for AMStarted instances.
 
Field Summary
 CharSequence applicationAttemptId
          Deprecated. 
 CharSequence containerId
          Deprecated. 
 CharSequence nodeManagerHost
          Deprecated. 
 int nodeManagerHttpPort
          Deprecated. 
 int nodeManagerPort
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 long startTime
          Deprecated. 
 
Constructor Summary
AMStarted()
          Default constructor.
AMStarted(CharSequence applicationAttemptId, Long startTime, CharSequence containerId, CharSequence nodeManagerHost, Integer nodeManagerPort, Integer nodeManagerHttpPort)
          All-args constructor.
 
Method Summary
 Object get(int field$)
           
 CharSequence getApplicationAttemptId()
          Gets the value of the 'applicationAttemptId' field.
static org.apache.avro.Schema getClassSchema()
           
 CharSequence getContainerId()
          Gets the value of the 'containerId' field.
 CharSequence getNodeManagerHost()
          Gets the value of the 'nodeManagerHost' field.
 Integer getNodeManagerHttpPort()
          Gets the value of the 'nodeManagerHttpPort' field.
 Integer getNodeManagerPort()
          Gets the value of the 'nodeManagerPort' field.
 org.apache.avro.Schema getSchema()
           
 Long getStartTime()
          Gets the value of the 'startTime' field.
static AMStarted.Builder newBuilder()
          Creates a new AMStarted RecordBuilder
static AMStarted.Builder newBuilder(AMStarted.Builder other)
          Creates a new AMStarted RecordBuilder by copying an existing Builder
static AMStarted.Builder newBuilder(AMStarted other)
          Creates a new AMStarted RecordBuilder by copying an existing AMStarted instance
 void put(int field$, Object value$)
           
 void setApplicationAttemptId(CharSequence value)
          Sets the value of the 'applicationAttemptId' field.
 void setContainerId(CharSequence value)
          Sets the value of the 'containerId' field.
 void setNodeManagerHost(CharSequence value)
          Sets the value of the 'nodeManagerHost' field.
 void setNodeManagerHttpPort(Integer value)
          Sets the value of the 'nodeManagerHttpPort' field.
 void setNodeManagerPort(Integer value)
          Sets the value of the 'nodeManagerPort' field.
 void setStartTime(Long value)
          Sets the value of the 'startTime' field.
 
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

applicationAttemptId

@Deprecated
public CharSequence applicationAttemptId
Deprecated. 

startTime

@Deprecated
public long startTime
Deprecated. 

containerId

@Deprecated
public CharSequence containerId
Deprecated. 

nodeManagerHost

@Deprecated
public CharSequence nodeManagerHost
Deprecated. 

nodeManagerPort

@Deprecated
public int nodeManagerPort
Deprecated. 

nodeManagerHttpPort

@Deprecated
public int nodeManagerHttpPort
Deprecated. 
Constructor Detail

AMStarted

public AMStarted()
Default constructor.


AMStarted

public AMStarted(CharSequence applicationAttemptId,
                 Long startTime,
                 CharSequence containerId,
                 CharSequence nodeManagerHost,
                 Integer nodeManagerPort,
                 Integer nodeManagerHttpPort)
All-args constructor.

Method Detail

getClassSchema

public static org.apache.avro.Schema getClassSchema()

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getApplicationAttemptId

public CharSequence getApplicationAttemptId()
Gets the value of the 'applicationAttemptId' field.


setApplicationAttemptId

public void setApplicationAttemptId(CharSequence value)
Sets the value of the 'applicationAttemptId' field.

Parameters:
value - the value to set.

getStartTime

public Long getStartTime()
Gets the value of the 'startTime' field.


setStartTime

public void setStartTime(Long value)
Sets the value of the 'startTime' field.

Parameters:
value - the value to set.

getContainerId

public CharSequence getContainerId()
Gets the value of the 'containerId' field.


setContainerId

public void setContainerId(CharSequence value)
Sets the value of the 'containerId' field.

Parameters:
value - the value to set.

getNodeManagerHost

public CharSequence getNodeManagerHost()
Gets the value of the 'nodeManagerHost' field.


setNodeManagerHost

public void setNodeManagerHost(CharSequence value)
Sets the value of the 'nodeManagerHost' field.

Parameters:
value - the value to set.

getNodeManagerPort

public Integer getNodeManagerPort()
Gets the value of the 'nodeManagerPort' field.


setNodeManagerPort

public void setNodeManagerPort(Integer value)
Sets the value of the 'nodeManagerPort' field.

Parameters:
value - the value to set.

getNodeManagerHttpPort

public Integer getNodeManagerHttpPort()
Gets the value of the 'nodeManagerHttpPort' field.


setNodeManagerHttpPort

public void setNodeManagerHttpPort(Integer value)
Sets the value of the 'nodeManagerHttpPort' field.

Parameters:
value - the value to set.

newBuilder

public static AMStarted.Builder newBuilder()
Creates a new AMStarted RecordBuilder


newBuilder

public static AMStarted.Builder newBuilder(AMStarted.Builder other)
Creates a new AMStarted RecordBuilder by copying an existing Builder


newBuilder

public static AMStarted.Builder newBuilder(AMStarted other)
Creates a new AMStarted RecordBuilder by copying an existing AMStarted instance



Copyright © 2013 Apache Software Foundation. All Rights Reserved.