Class CryptoFunctions.SHA256Function

java.lang.Object
org.apache.drill.exec.udfs.CryptoFunctions.SHA256Function
All Implemented Interfaces:
DrillFunc, DrillSimpleFunc
Enclosing class:
CryptoFunctions

public static class CryptoFunctions.SHA256Function extends Object implements DrillSimpleFunc
sha2() / sha256(): Calculates an SHA-2 256-bit checksum for the string. The value is returned as a string of hexadecimal digits, or NULL if the argument was NULL. Note that sha2() and sha256() are aliases for the same function. > select sha2( 'testing' ) from (VALUES(1));
  • Constructor Details

    • SHA256Function

      public SHA256Function()
  • Method Details