apoc.util

Qualified Name Type Release

apoc.util.sleep(<duration>) | sleeps for <duration> millis, transaction termination is honored

Procedure

APOC Core

apoc.util.validate(predicate, message, params) | if the predicate yields to true raise an exception

Procedure

APOC Core

apoc.util.compress(string, {config}) | return a compressed byte[] in various format from a string

Function

APOC Core

apoc.util.decompress(compressed, {config}) | return a string from a compressed byte[] in various format

Function

APOC Core

apoc.util.hashCode(value) - Returns the java.lang.Object#hashCode() of the value

Function

apoc.util.md5([values]) | computes the md5 of the concatenation of all string values of the list. Unsuitable for cryptographic use-cases

Function

APOC Core

apoc.util.sha1([values]) | computes the sha1 of the concatenation of all string values of the list

Function

APOC Core

apoc.util.sha256([values]) | computes the sha256 of the concatenation of all string values of the list

Function

APOC Core

apoc.util.sha384([values]) | computes the sha384 of the concatenation of all string values of the list

Function

APOC Core

apoc.util.sha512([values]) | computes the sha512 of the concatenation of all string values of the list

Function

APOC Core

apoc.util.validatePredicate(predicate, message, params) | if the predicate yields to true raise an exception else returns true, for use inside WHERE subclauses