graphscope.framework.dag_utils.gremlin_query#
- graphscope.framework.dag_utils.gremlin_query(interactive_query, query, request_options=None)[source]#
Execute a gremlin query.
- Parameters
interactive_query (
graphscope.interactive.query.InteractiveQueryDAGNode
) – The GIE instance holds the graph that gremlin query on.query (str) – Scripts that written in gremlin quering language.
request_options (dict, optional) –
gremlin request options. format: {
”engine”: “gae”
}
- Returns
An op to execute a gremlin query on the GIE instance.