public class EdgeInfoByVertexId extends Object
| Constructor and Description |
|---|
EdgeInfoByVertexId(long fromId,
long toId,
String type,
Map<String,Object> property)
根据点id创建边,集合属性默认追加
|
EdgeInfoByVertexId(long fromId,
long toId,
String type,
Map<String,Object> property,
boolean isMerge)
根据点id创建边
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getFromId()
返回边的起始点
|
Map<String,Object> |
getProperty()
返回边的属性集合
|
Long |
getToId()
返回边的终止点
|
String |
getType()
返回边类型
|
boolean |
isMerge()
返回集合属性的追加(true)或覆盖(false)
|
public EdgeInfoByVertexId(long fromId,
long toId,
String type,
Map<String,Object> property)
fromId - 起始点idtoId - 终止点idtype - 边类型property - 边属性Copyright © 2024. All rights reserved.