Your IP can use custom scalar functions that are specified in a WHERE clause. For example, the following query specifies a scalar function named NEAR:
SELECT * FROM curvalue WHERE name = NEAR('tom', 'jones');
The OpenAccess SDK SQL engine allows the IP to obtain information about the custom scalar conditions and evaluate them, returning each set of custom conditions as a list of OR predicates. Your IP must complete the following procedure to evaluate and use custom scalar functions.