DownloadFileV2()
方法及相关类:
func (api *UltipaAPI) DownloadFileV2(
fileName string,
taskId string,
config *configuration.RequestConfig,
receive func(data []byte) error
) error
ExportAsNodesEdges()
方法及相关类:
func (api *UltipaAPI) ExportAsNodesEdges(
schema *structs.Schema,
limit int,
config *configuration.RequestConfig,
cb func(nodes []*structs.Node, edges []*structs.Edge) error
) error
type Schema struct {
Name string
Properties []*Property
Desc string
Type string
DBType ultipa.DBType
Total int
}
type Node struct {
Name string
ID types.ID
UUID types.UUID
Schema string
Values *Values
}
type Edge struct {
Name string
From types.ID
To types.ID
FromUUID types.UUID
ToUUID types.UUID
UUID types.UUID
Schema string
Values *Values
}