apoc.util

Qualified Name Type

apoc.util.sleep(duration Integer) - causes the currently running Cypher to sleep for the given duration of milliseconds (the transaction termination is honored).

Procedure

apoc.util.validate(predicate Boolean, message String, params [Any]) - if the given predicate is true an exception is thrown.

Procedure

apoc.util.compress(data String, config Map<String, Any>) - zips the given string.

Function

apoc.util.decompress(data ByteArray, config Map<String, Any>) - unzips the given byte array.

Function

apoc.util.md5(values [Any]) - returns the MD5 checksum of the concatenation of all string values in the given list. MD5 is a weak hashing algorithm which is unsuitable for cryptographic use-cases.

Function

apoc.util.sha1(values [Any]) - returns the SHA1 of the concatenation of all string values in the given list. SHA1 is a weak hashing algorithm which is unsuitable for cryptographic use-cases.

Function

apoc.util.sha256(values [Any]) - returns the SHA256 of the concatenation of all string values in the given list.

Function

apoc.util.sha384(values [Any]) - returns the SHA384 of the concatenation of all string values in the given list.

Function

apoc.util.sha512(values [Any]) - returns the SHA512 of the concatenation of all string values in the list.

Function

apoc.util.validatePredicate(predicate Boolean, message String, params [Any]) - if the given predicate is true an exception is thrown, otherwise it returns true (for use inside WHERE subclauses).

Function