User Defined Steps for orientDB Handlers (Server Plugins)

OrientDB has Handlers (Server Plugins). Handlers allow writing custom functions. For example, there is a step union in Gremlin. In OrientDB, I can write my own function called customUnion using the handlers.

Question: How can I call the custom function of OrientDB (or step of Gremlin) in the Gremlin console? Also, I am using the Gremlin Java API, so I need to call the custom function customUnion in Gremlin Java API.

I have created the same question on OrientDB: https://github.com/orientechnologies/orientdb/issues/10003

It seems I need to configure the Gremlin server somehow to use my customUnion function(step), and then I can write my custom traversals in Java to use it in the Java API. However, I cannot find any tutorial for this in TinkerPop3 or orientDB
GitHub
Handler (Server Plugin) is the best solution for the feature, but it seems I cannot use my custom function (handler) in the Gremlin query. Is it really a limitation of Gremlin, or is there any way ...
Was this page helpful?