В документации https://orientdb.com/docs/3.0.x/admin/Functions-Use.html
OFunction sum = db.getMetadata().getFunctionLibrary().getFunction("sum"); Number result = sum.execute(3, 5);
, но в java doc https://orientdb.com/javadoc/develop/com/orientechnologies/orient/core/metadata/function/OFunction.html
Object execute(Object... iArgs) Deprecated.
как теперь правильно вызвать функцию?спасибо