Class EdgeInfoByVertexId


  • public class EdgeInfoByVertexId
    extends Object
    批量操作边的基础信息封装
    Version:
    3.3.0
    • Constructor Detail

      • EdgeInfoByVertexId

        public EdgeInfoByVertexId​(long fromId,
                                  long toId,
                                  String type,
                                  Map<String,​Object> property)
        根据点id创建边,集合属性默认追加
        Parameters:
        fromId - 起始点id
        toId - 终止点id
        type - 边类型
        property - 边属性
      • EdgeInfoByVertexId

        public EdgeInfoByVertexId​(long fromId,
                                  long toId,
                                  String type,
                                  Map<String,​Object> property,
                                  boolean isMerge)
        根据点id创建边
        Parameters:
        fromId - 起始点id
        toId - 终止点id
        type - 边类型
        property - 边属性
        isMerge - 集合属性的追加(true)或覆盖(false)
    • Method Detail

      • getFromId

        public Long getFromId()
        返回边的起始点
        Returns:
        long 边的起始点
      • getToId

        public Long getToId()
        返回边的终止点
        Returns:
        long 边的终止点
      • getType

        public String getType()
        返回边类型
        Returns:
        STRING 边的类型
      • getProperty

        public Map<String,​Object> getProperty()
        返回边的属性集合
        Returns:
        边的属性集合
      • isMerge

        public boolean isMerge()
        返回集合属性的追加(true)或覆盖(false)
        Returns:
        集合属性的追加(true)或覆盖(false)