检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
HyG Job管理API HyG算法结果转存 取消HyG Job 父主题: 持久化版
交互式事务API 创建事务 执行事务Cypher 提交事务 回滚事务 父主题: 持久化版
算法API参数参考 算法公共参数 pagerank算法 personalrank算法(personalrank) k核算法(kcore) k跳算法(k_hop) 点集共同邻居(common_neighbors_of_vertex_sets) 最短路径(shortest_path)
最短路径(shortest_path) 表1 parameters参数说明 参数 是否必选 类型 说明 source 是 String 输入路径的起点ID。 target 是 String 输入路径的终点ID。 directed 否 Boolean 是否考虑边的方向,取值为true
图统计 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testShowGraphVersion 查询图版本信息 testShowGraphSummary 查询图概要信息 父主题: 持久化版样例
索引操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testListIndices 查询索引 testCreateIndex 新建索引 testDeleteIndex 删除索引 父主题
Job管理 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence waitJob 查询Job状态 testListJobs 查询Job列表 父主题: 持久化版样例
图统计 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testShowGraphVersion 查询图版本信息 testShowGraphSummary 查询图概要信息 父主题: 持久化版样例
点集最短路(shortest_path_of_vertex_sets) 表1 parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 sources 是 起点ID集合 List 标准csv格式,ID之间以英文逗号分隔,例如:["Alice","Nana"]。 个数不大于
点集共同邻居(common_neighbors_of_vertex_sets) 表1 parameters参数说明 参数 是否必选 说明 类型 取值范围 默认值 sources(2.2.6) 是 起点ID集合 List 标准csv格式,ID之间以英文逗号分隔,例如:["Alice"
算法 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testShortestPath 最短路径算法 testShortestPathOfVertexSets 点集最短路径算法 testCommonNeighborsOfVertexSets
算法 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testShortestPath 最短路径算法 testShortestPathOfVertexSets 点集最短路径算法 testCommonNeighborsOfVertexSets
索引操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testListIndices 查询索引 testCreateIndex 新建索引 testDeleteIndex 删除索引 父主题
自定义图分析算法编程示例 自定义SSSP算法 # 导入必要的包 from hyg.analytics.graph import load_base_graph from hyg.analytics.model import pregel_types, PregelModel #
元数据操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testAddLabel 添加Label testUpdateLabel 更新Label testQueryGraphSchemaDetail
元数据操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testAddLabel 添加Label testUpdateLabel 更新Label testQueryGraphSchemaDetail
边操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testQueryEdgeDetails 边详情查询 testBatchEdgesQuery 批量边查询 testBatchAddEdges
图操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testImportGraphPersistence 导入图 testClearGraphPersistence 清空图 父主题:
Job管理 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence waitJob 查询Job状态 testListJobs 查询Job列表 父主题: 持久化版样例
点操作 代码样例文件路径 样例方法名 对应的API com.huawei.ges.graph.sdk.v1.examples.persistence testQueryVertexsDetails 点详情查询 testBatchVertexsQuery 批量点查询 testBatchAddVertexs