Package org.apache.drill.exec.udfs
Class CryptoFunctions.MD5Function
java.lang.Object
org.apache.drill.exec.udfs.CryptoFunctions.MD5Function
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- CryptoFunctions
This function returns the MD5 digest of a given input string.
Usage is shown below:
select md5( 'testing' ) from (VALUES(1));
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MD5Function
public MD5Function()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-