Spark GraphX中类Graph的collectNeighborIdsedgeDirection EdgeDirection方法可以()。
A.收集邻居顶点的顶点Id和顶点属性
B.收集邻居顶点的顶点Id
C.向指定顶点发送信息并聚合信息
D.将顶点信息更新到图中
A.收集邻居顶点的顶点Id和顶点属性
B.收集邻居顶点的顶点Id
C.向指定顶点发送信息并聚合信息
D.将顶点信息更新到图中
第2题
A.Graph(vertices,edges,defaultVertexAttr)
B.Graph.fromEdges(RDD[Edge[ED]],defaultValue)
C.Graph.fromEdgeTuples(rawEdges:RDD[(VertexId,VertexId)],defaultValue,)
D.GraphLoader.edgeListFile(sc,filename)
第3题
A.Graph(vertices,edges,defaultVertexAttr)
B.Graph.fromEdges(RDD[Edge[ED]],defaultValue)
C.Graph.fromEdgeTuples(rawEdges:RDD[(VertexId,VertexId)],defaultValue,)
D.GraphLoader.edgeListFile(sc,filename)
第4题
A.收集邻居顶点的顶点Id和顶点属性
B.收集邻居顶点的顶点Id
C.向指定顶点发送信息并聚合信息
D.将顶点信息更新到图中
第5题
A.反转图中所有边的方向
B.按照设定条件取出子图
C.取两个图的公共顶点和边作为新图,并保持前一个图顶点与边的属性
D.合并边相同的属性
第10题
A.cache
B.presist
C.unpersistVertices
D.edges.unpersist