datafu.pig.hash
Class MD5Base64

java.lang.Object
  extended by org.apache.pig.EvalFunc<T>
      extended by datafu.pig.util.SimpleEvalFunc<java.lang.String>
          extended by datafu.pig.hash.MD5Base64

public class MD5Base64
extends SimpleEvalFunc<java.lang.String>

Computes the MD5 value of a string and outputs it in Base64 encoding.


Field Summary
 
Fields inherited from class org.apache.pig.EvalFunc
log, pigLogger, reporter, returnType
 
Constructor Summary
MD5Base64()
           
 
Method Summary
 java.lang.String call(java.lang.String val)
           
 
Methods inherited from class datafu.pig.util.SimpleEvalFunc
exec, getReturnType
 
Methods inherited from class org.apache.pig.EvalFunc
finish, getArgToFuncMapping, getCacheFiles, getLogger, getPigLogger, getReporter, getSchemaName, isAsynchronous, outputSchema, progress, setPigLogger, setReporter, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD5Base64

public MD5Base64()
Method Detail

call

public java.lang.String call(java.lang.String val)


Matthew Hayes, Sam Shah