org.apache.hadoop.tools.rumen.datatypes
Class NodeName
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROOT
public static final NodeName ROOT
NodeName
public NodeName(String nodeName)
NodeName
public NodeName(String rName,
String hName)
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 © 2013 Apache Software Foundation. All Rights Reserved.