graphscope.framework.dag_utils.output#

graphscope.framework.dag_utils.output(context, fd, selector, vertex_range, storage_options=None, write_options=None, **kwargs)[source]#

Output result to fd, this will be handled by registered vineyard C++ adaptor.

Parameters:
  • results (Context) – Results return by run_app operation, store the query results.

  • fd (str) – Such as file:///tmp/result_path

  • selector (str) – Select the type of data to retrieve.

  • vertex_range (str) – Specify a range to retrieve.

Returns:

An op to output results to fd.