Rate This Document
Findability
Accuracy
Completeness
Readability

saveGraph

API Definition

def saveGraph(path: string) -> int

Function

Save a graph index to a specified path in a single process.

Parameters

Parameter

Description

Data Type

Value Range

path

Path for storing the graph index.

Character string

The length must be less than 199 characters.

Return Value

Data Type

Description

int

The API is encapsulated by the underlying C++ API, which controls the exception throwing.