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

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

public class FileName
extends Object
implements AnonymizableDataType<String>

Represents a file's location. Currently, only filenames that can be represented using Path are supported.


Nested Class Summary
static class FileName.FileNameState
          A composite state for filename.
 
Constructor Summary
FileName(String fileName)
           
 
Method Summary
 String getAnonymizedValue(StatePool statePool, org.apache.hadoop.conf.Configuration conf)
           
 String getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileName

public FileName(String fileName)
Method Detail

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.