Class HashOfQueryFunction

java.lang.Object
ch.tocco.nice2.persist.core.impl.entity.HashOfQueryFunction
All Implemented Interfaces:
QueryFunction

@Component public class HashOfQueryFunction extends Object implements QueryFunction

This query function makes it possible to use binaries in queries.

It simply substitutes the type binary with string for each PathNode since the binary is represented by its hash sum.

Usage:

 find SomeEntity where hashOf('binary_data') == string:"hash1234"