[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

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 LIST<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 LIST<INTEGER>, config MAP<STRING, ANY>) - unzips the given byte array.

Function

apoc.util.md5(values LIST<ANY>) - returns the MD5 checksum of the concatenation of all STRING values in the given LIST<ANY>. MD5 is a weak hashing algorithm which is unsuitable for cryptographic use-cases.

Function

apoc.util.sha1(values LIST<ANY>) - returns the SHA1 of the concatenation of all STRING values in the given LIST<ANY>. SHA1 is a weak hashing algorithm which is unsuitable for cryptographic use-cases.

Function

apoc.util.sha256(values LIST<ANY>) - returns the SHA256 of the concatenation of all STRING values in the given LIST<ANY>.

Function

apoc.util.sha384(values LIST<ANY>) - returns the SHA384 of the concatenation of all STRING values in the given LIST<ANY>.

Function

apoc.util.sha512(values LIST<ANY>) - returns the SHA512 of the concatenation of all STRING values in the LIST<ANY>.

Function

apoc.util.validatePredicate(predicate BOOLEAN, message STRING, params LIST<ANY>) - if the given predicate is true an exception is thrown, otherwise it returns true (for use inside WHERE subclauses).

Function