org.apache.hadoop.tools.rumen.datatypes
Class NodeName

java.lang.Object
  extended by org.apache.hadoop.tools.rumen.datatypes.NodeName
All Implemented Interfaces:
AnonymizableDataType<String>, DataType<String>

public class NodeName
extends Object
implements AnonymizableDataType<String>

Represents the cluster host.


Nested Class Summary
static class NodeName.NodeNameState
          A composite state for node-name.
 
Field Summary
static NodeName ROOT
           
 
Constructor Summary
NodeName(String nodeName)
           
NodeName(String rName, String hName)
           
 
Method Summary
 String getAnonymizedValue(StatePool statePool, org.apache.hadoop.conf.Configuration conf)
           
 String getHostName()
           
 String getRackName()
           
 String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT

public static final NodeName ROOT
Constructor Detail

NodeName

public NodeName(String nodeName)

NodeName

public NodeName(String rName,
                String hName)
Method Detail

getHostName

public String getHostName()

getRackName

public String getRackName()

getValue

public String getValue()
Specified by:
getValue in interface DataType<String>

getAnonymizedValue

public String getAnonymizedValue(StatePool statePool,
                                 org.apache.hadoop.conf.Configuration conf)
Specified by:
getAnonymizedValue in interface AnonymizableDataType<String>


Copyright © 2012 Apache Software Foundation. All Rights Reserved.