Spring for Apache Hadoop

org.springframework.yarn.support.console
Class TableRow

java.lang.Object
  extended by org.springframework.yarn.support.console.TableRow

public class TableRow
extends java.lang.Object

Holds the table rows used by Table.

Author:
Gunnar Hillert, Ilayaperumal Gopinathan, Janne Valkealahti
See Also:
UiUtils

Constructor Summary
TableRow()
           
 
Method Summary
 TableRow addValue(java.lang.Integer column, java.lang.String value)
          Add a value to the to the specified column within this row.
 boolean equals(java.lang.Object obj)
           
 java.lang.String getValue(java.lang.Integer key)
          Return a value from this row.
 int hashCode()
           
 void setData(java.util.Map<java.lang.Integer,java.lang.String> data)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableRow

public TableRow()
Method Detail

setData

public void setData(java.util.Map<java.lang.Integer,java.lang.String> data)

getValue

public java.lang.String getValue(java.lang.Integer key)
Return a value from this row.

Parameters:
key - Column for which to return the value for
Returns:
Value of the specified column within this row

addValue

public TableRow addValue(java.lang.Integer column,
                         java.lang.String value)
Add a value to the to the specified column within this row.

Parameters:
column -
value -

hashCode

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

equals

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

Spring for Apache Hadoop