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