| Constructor and Description |
|---|
HashFunction() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.eclipse.rdf4j.model.Literal |
evaluate(org.eclipse.rdf4j.model.ValueFactory valueFactory,
org.eclipse.rdf4j.model.Value... args) |
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 org.eclipse.rdf4j.model.Literal evaluate(org.eclipse.rdf4j.model.ValueFactory valueFactory,
org.eclipse.rdf4j.model.Value... args)
throws ValueExprEvaluationException
evaluate in interface FunctionValueExprEvaluationExceptionCopyright © 2015-2019 Eclipse Foundation. All Rights Reserved.