yasuro99
Explore posts from serversATApache TinkerPop
•Created by yasuro99 on 7/20/2023 in #questions
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 orientDB5 replies