Hi,
Registration of function via *registerFunction* is different from its
registration in OFunction. *registerFunction*() is rather for native java
functions, while *OFunction* is for functions on dynamic languages (sql,
JS).
You might call *registerFunction* on client, so the server know nothing
Thanks for the response, Artem. I have copy/pasted the example code to
register the bigger() function, and run it. I don't get any errors calling
it from a select statement in Java, but it is not recognized as a valid
function name if I start up the console after.
I am running v.1.7-SNAPSHOT (
Hi,
The following step is a registration of function:
OSQLEngine.getInstance().registerFunction(...)
It is present in a an example, you may be missed that.
Best regards,
Artem Orobets
* Orient Technologiesthe Company behind OrientDB*
2014-06-04 20:39 GMT+03:00 :
> I am trying to write a cus
I am trying to write a custom function in Java that can be called from the
console. I have seen
https://github.com/orientechnologies/orientdb/wiki/SQL-Functions#custom-functions-in-java
as a simple example, but there is no mention of how to register the
function so that it can be called from t