修改密码

请输入密码
请输入密码 请输入8-64长度密码 和 email 地址不相同 至少包括数字、大写字母、小写字母、半角符号中的 3 个
请输入密码
提交

修改昵称

当前昵称:
提交

??certificate-table.title_zh_CN??

??certificate-table.name_zh_CN?? ??certificate-table.issued-at_zh_CN?? ??certificate-table.valid-until_zh_CN?? ??certificate-table.serial_zh_CN?? ??certificate-table.actions_zh_CN??
??certificate-table.serial_zh_CN?? ??certificate-table.valid-until_zh_CN?? ??certificate-table.actions_zh_CN??

??certificate-table.no-data.p1_zh_CN?? ??certificate-table.no-data.p2_zh_CN??

v4.0
搜索
    中文EN
    v4.0

      索引

      命名

      普通索引与其所参照的属性同名且同 schema。

      查看索引

      返回的表名:_nodeIndex_edgeIndex
      返回的表头:name|properties|schema|status(索引的名称、参照属性、所属 schema、当前状态 [creating|done])

      语法:

      // 查看当前图集中的所有索引(分为点、边两个表)
      show().index() 
      
      // 查看当前图集中的所有点索引
      show().node_index()
      
      // 查看当前图集中的所有边索引
      show().edge_index()
      

      创建索引

      语法:

      // 在当前图集中为某个 点schema 的某个属性创建索引
      create().node_index(@<schema>.<property>)
      
      // 在当前图集中为所有 点schema 的某个属性(如有)创建索引
      create().node_index(@*.<property>)
      
      // 在当前图集中为某个 边schema 的某个属性创建索引
      create().edge_index(@<schema>.<property>)
                                     
      // 在当前图集中为所有 边schema 的某个属性(如有)创建索引
      create().edge_index(@*.<property>)
      
      // 混合以上四种方法同时为多个点/边属性创建索引
      create()
        .node_index(@<schema>.<property>)
        .node_index(@*.<property>)
        .edge_index(@<schema>.<property>)
        .edge_index(@*.<property>)
        ...
      

      示例:为银行卡 @card 的余额 balance 创建索引

      create().node_index(@card.balance)
      

      示例:为交易 @transaction 的金额 amount 创建索引

      create().edge_index(@transaction.amount)
      

      删除索引

      语法:

      // 从当前图集中删除某个 点schema 的某个属性的索引
      drop().node_index(@<schema>.<property>)
      
      // 从当前图集中删除所有 点schema 的某个属性(如有)的索引
      drop().node_index(@*.<property>)
      
      // 从当前图集中删除某个 边schema 的某个属性的索引
      drop().edge_index(@<schema>.<property>)
                                     
      // 从当前图集中删除所有 边schema 的某个属性(如有)的索引
      drop().edge_index(@<schema>.<property>)
                                     
      // 混合以上四种方法同时删除多个点/边属性的索引
      drop()
        .node_index(@<schema>.<property>)
        .node_index(@*.<property>)
        .edge_index(@<schema>.<property>)
        .edge_index(@*.<property>)
        ...
      

      示例:删除对 @card 的余额 balance 的索引

      drop().node_index(@card.balance)
      

      示例:删除对 @transaction 的金额 amount 的索引

      drop().edge_index(@transaction.amount)
      
      请完成以下信息后可下载此书
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写
      *
      你的电话必须填写