edu.stolaf.cs.wmrserver.thrift
Class JobInfo

java.lang.Object
  extended by edu.stolaf.cs.wmrserver.thrift.JobInfo
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<JobInfo>, org.apache.thrift.TBase<JobInfo,JobInfo._Fields>

public class JobInfo
extends java.lang.Object
implements org.apache.thrift.TBase<JobInfo,JobInfo._Fields>, java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Nested Class Summary
static class JobInfo._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static java.util.Map<JobInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
JobInfo()
           
JobInfo(JobInfo other)
          Performs a deep copy on other.
JobInfo(java.lang.String nativeID, java.lang.String name, boolean test, java.lang.String inputPath, java.lang.String outputPath, java.lang.String mapper, java.lang.String reducer, boolean numericSort)
           
 
Method Summary
 void clear()
           
 int compareTo(JobInfo other)
           
 JobInfo deepCopy()
           
 boolean equals(JobInfo that)
           
 boolean equals(java.lang.Object that)
           
 JobInfo._Fields fieldForId(int fieldId)
           
 java.lang.Object getFieldValue(JobInfo._Fields field)
           
 java.lang.String getInputPath()
           
 java.lang.String getMapper()
           
 java.lang.String getName()
           
 java.lang.String getNativeID()
           
 java.lang.String getOutputPath()
           
 java.lang.String getReducer()
           
 int getRequestedMapTasks()
           
 int getRequestedReduceTasks()
           
 int hashCode()
           
 boolean isNumericSort()
           
 boolean isSet(JobInfo._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetInputPath()
          Returns true if field inputPath is set (has been assigned a value) and false otherwise
 boolean isSetMapper()
          Returns true if field mapper is set (has been assigned a value) and false otherwise
 boolean isSetName()
          Returns true if field name is set (has been assigned a value) and false otherwise
 boolean isSetNativeID()
          Returns true if field nativeID is set (has been assigned a value) and false otherwise
 boolean isSetNumericSort()
          Returns true if field numericSort is set (has been assigned a value) and false otherwise
 boolean isSetOutputPath()
          Returns true if field outputPath is set (has been assigned a value) and false otherwise
 boolean isSetReducer()
          Returns true if field reducer is set (has been assigned a value) and false otherwise
 boolean isSetRequestedMapTasks()
          Returns true if field requestedMapTasks is set (has been assigned a value) and false otherwise
 boolean isSetRequestedReduceTasks()
          Returns true if field requestedReduceTasks is set (has been assigned a value) and false otherwise
 boolean isSetTest()
          Returns true if field test is set (has been assigned a value) and false otherwise
 boolean isTest()
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(JobInfo._Fields field, java.lang.Object value)
           
 void setInputPath(java.lang.String inputPath)
           
 void setInputPathIsSet(boolean value)
           
 void setMapper(java.lang.String mapper)
           
 void setMapperIsSet(boolean value)
           
 void setName(java.lang.String name)
           
 void setNameIsSet(boolean value)
           
 void setNativeID(java.lang.String nativeID)
           
 void setNativeIDIsSet(boolean value)
           
 void setNumericSort(boolean numericSort)
           
 void setNumericSortIsSet(boolean value)
           
 void setOutputPath(java.lang.String outputPath)
           
 void setOutputPathIsSet(boolean value)
           
 void setReducer(java.lang.String reducer)
           
 void setReducerIsSet(boolean value)
           
 void setRequestedMapTasks(int requestedMapTasks)
           
 void setRequestedMapTasksIsSet(boolean value)
           
 void setRequestedReduceTasks(int requestedReduceTasks)
           
 void setRequestedReduceTasksIsSet(boolean value)
           
 void setTest(boolean test)
           
 void setTestIsSet(boolean value)
           
 java.lang.String toString()
           
 void unsetInputPath()
           
 void unsetMapper()
           
 void unsetName()
           
 void unsetNativeID()
           
 void unsetNumericSort()
           
 void unsetOutputPath()
           
 void unsetReducer()
           
 void unsetRequestedMapTasks()
           
 void unsetRequestedReduceTasks()
           
 void unsetTest()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

public static final java.util.Map<JobInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

JobInfo

public JobInfo()

JobInfo

public JobInfo(java.lang.String nativeID,
               java.lang.String name,
               boolean test,
               java.lang.String inputPath,
               java.lang.String outputPath,
               java.lang.String mapper,
               java.lang.String reducer,
               boolean numericSort)

JobInfo

public JobInfo(JobInfo other)
Performs a deep copy on other.

Method Detail

deepCopy

public JobInfo deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<JobInfo,JobInfo._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<JobInfo,JobInfo._Fields>

getNativeID

public java.lang.String getNativeID()

setNativeID

public void setNativeID(java.lang.String nativeID)

unsetNativeID

public void unsetNativeID()

isSetNativeID

public boolean isSetNativeID()
Returns true if field nativeID is set (has been assigned a value) and false otherwise


setNativeIDIsSet

public void setNativeIDIsSet(boolean value)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

unsetName

public void unsetName()

isSetName

public boolean isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise


setNameIsSet

public void setNameIsSet(boolean value)

isTest

public boolean isTest()

setTest

public void setTest(boolean test)

unsetTest

public void unsetTest()

isSetTest

public boolean isSetTest()
Returns true if field test is set (has been assigned a value) and false otherwise


setTestIsSet

public void setTestIsSet(boolean value)

getInputPath

public java.lang.String getInputPath()

setInputPath

public void setInputPath(java.lang.String inputPath)

unsetInputPath

public void unsetInputPath()

isSetInputPath

public boolean isSetInputPath()
Returns true if field inputPath is set (has been assigned a value) and false otherwise


setInputPathIsSet

public void setInputPathIsSet(boolean value)

getOutputPath

public java.lang.String getOutputPath()

setOutputPath

public void setOutputPath(java.lang.String outputPath)

unsetOutputPath

public void unsetOutputPath()

isSetOutputPath

public boolean isSetOutputPath()
Returns true if field outputPath is set (has been assigned a value) and false otherwise


setOutputPathIsSet

public void setOutputPathIsSet(boolean value)

getMapper

public java.lang.String getMapper()

setMapper

public void setMapper(java.lang.String mapper)

unsetMapper

public void unsetMapper()

isSetMapper

public boolean isSetMapper()
Returns true if field mapper is set (has been assigned a value) and false otherwise


setMapperIsSet

public void setMapperIsSet(boolean value)

getReducer

public java.lang.String getReducer()

setReducer

public void setReducer(java.lang.String reducer)

unsetReducer

public void unsetReducer()

isSetReducer

public boolean isSetReducer()
Returns true if field reducer is set (has been assigned a value) and false otherwise


setReducerIsSet

public void setReducerIsSet(boolean value)

getRequestedMapTasks

public int getRequestedMapTasks()

setRequestedMapTasks

public void setRequestedMapTasks(int requestedMapTasks)

unsetRequestedMapTasks

public void unsetRequestedMapTasks()

isSetRequestedMapTasks

public boolean isSetRequestedMapTasks()
Returns true if field requestedMapTasks is set (has been assigned a value) and false otherwise


setRequestedMapTasksIsSet

public void setRequestedMapTasksIsSet(boolean value)

getRequestedReduceTasks

public int getRequestedReduceTasks()

setRequestedReduceTasks

public void setRequestedReduceTasks(int requestedReduceTasks)

unsetRequestedReduceTasks

public void unsetRequestedReduceTasks()

isSetRequestedReduceTasks

public boolean isSetRequestedReduceTasks()
Returns true if field requestedReduceTasks is set (has been assigned a value) and false otherwise


setRequestedReduceTasksIsSet

public void setRequestedReduceTasksIsSet(boolean value)

isNumericSort

public boolean isNumericSort()

setNumericSort

public void setNumericSort(boolean numericSort)

unsetNumericSort

public void unsetNumericSort()

isSetNumericSort

public boolean isSetNumericSort()
Returns true if field numericSort is set (has been assigned a value) and false otherwise


setNumericSortIsSet

public void setNumericSortIsSet(boolean value)

setFieldValue

public void setFieldValue(JobInfo._Fields field,
                          java.lang.Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<JobInfo,JobInfo._Fields>

getFieldValue

public java.lang.Object getFieldValue(JobInfo._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<JobInfo,JobInfo._Fields>

isSet

public boolean isSet(JobInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<JobInfo,JobInfo._Fields>

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(JobInfo that)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(JobInfo other)
Specified by:
compareTo in interface java.lang.Comparable<JobInfo>

fieldForId

public JobInfo._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<JobInfo,JobInfo._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<JobInfo,JobInfo._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<JobInfo,JobInfo._Fields>
Throws:
org.apache.thrift.TException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException