| Constructor and Description |
|---|
HashFunction() |
| Modifier and Type | Method and Description |
|---|---|
abstract Literal |
evaluate(ValueFactory valueFactory,
Value... args)
Evaluate the function over the supplied input arguments, using the supplied
ValueFactory to produce the
result. |
protected String |
hash(String text,
String algorithm)
Calculate hash value, represented as hexadecimal string.
|
protected String hash(String text, String algorithm) throws NoSuchAlgorithmException
text - textalgorithm - name of the hash algorithmNoSuchAlgorithmExceptionpublic abstract Literal evaluate(ValueFactory valueFactory, Value... args) throws ValueExprEvaluationException
FunctionValueFactory to produce the
result.evaluate in interface FunctionvalueFactory - a ValueFactory to use for producing the function result.args - the function input arguments.ValueExprEvaluationExceptionCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.