修改密码

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

修改昵称

当前昵称:
提交

申请证书

证书详情

Please complete this required field.

  • Ultipa Graph V4

Standalone

Please complete this required field.

Please complete this required field.

服务器的MAC地址

Please complete this required field.

Please complete this required field.

取消
申请
ID
产品
状态
核数
申请天数
审批时间
过期时间
MAC地址
申请理由
审核信息
关闭
基础信息
  • 用户昵称:
  • 手机号:
  • 公司名称:
  • 公司邮箱:
  • 地区:
  • 语言:
修改密码
申请证书

当前未申请证书.

申请证书
Certificate Issued at Valid until Serial No. File
Serial No. Valid until File

Not having one? Apply now! >>>

ProductName CreateTime ID Price File
ProductName CreateTime ID Price File

No Invoice

搜索

      查询方法

      连接建立后,您可使用Connection对象的多种方法向数据库发送查询请求,方法分类如下:

      通用方法
      执行嬴图GQL
      • uql()
      • uqlStream()
      任务特定方法
      图集管理
      • showGraph()
      • getGraph()
      • createGraph()
      • createGraphIfNotExist()
      • dropGraph()
      • alterGraph()
      • truncate()
      • compact()
      • hasGraph()
      • unmountGraph()
      • mountGraph()
      Schema和属性管理
      • showSchema()
      • getSchema()
      • showNodeSchema()
      • showEdgeSchema()
      • getNodeSchema()
      • getEdgeSchema()
      • createSchema()
      • createSchemaIfNotExist()
      • alterSchema()
      • dropSchema()
      • showProperty()
      • showNodeProperty()
      • showEdgeProperty()
      • getProperty()
      • getNodeProperty()
      • getEdgeProperty()
      • createProperty()
      • createPropertyIfNotExist()
      • alterProperty()
      • dropProperty()
      数据插入与删除
      • insertNodes()
      • insertEdges()
      • insertNodesBatchBySchema()
      • insertEdgesBatchBySchema()
      • insertNodesBatchAuto()
      • insertEdgesBatchAuto()
      • deleteNodes()
      • deleteEdges()
      查询加速
      • lte()
      • ufe()
      • showIndex()
      • showNodeIndex()
      • showEdgeIndex()
      • createIndex()
      • dropIndex()
      • showFulltext()
      • showNodeFulltext()
      • showEdgeFulltext()
      • createFulltext()
      • dropFulltext()
      算法管理
      • showAlgo()
      • installAlgo()
      • uninstallAlgo()
      • showExta()
      • installExta()
      • uninstallExta()
      下载与导出
      • downloadAlgoResultFile()
      • downloadAllAlgoResultFile()
      • export()
      进程与任务管理
      • top()
      • kill()
      • showTask()
      • clearTask()
      • stopTask()
      访问管理
      • showPrivilege()
      • showPolicy()
      • getPolicy()
      • createPolicy()
      • alterPolicy()
      • dropPolicy()
      • showUser()
      • getUser()
      • createUser()
      • alterUser()
      • dropUser()
      • grantPolicy()
      • revokePolicy()
      其他
      • stats()
      • test()

      使用任务特定方法,可以免去显式编写嬴图GQL。以下两个示例分别使用uql()方法和getNodeSchema()方法获取名为club-member的点schema,并打印其关联属性。其中,后者编写更为简单,其结果直接返回Schema。使用uql()时,需从Response中提取数据,将其转换为Schema

      // 使用uql()方法
      Response response = client.uql("show().node_schema(@`club-member`)");
      List<Schema> schemas = response.get(0).asSchemas();
      for (Schema schema : schemas) {
          System.out.println(schema.getProperties());
      }
      
      // 使用getNodeSchema()方法
      Schema schema = client.getNodeSchema("club-member");
      System.out.println(schema.getProperties());
      

      然而,uql()方法可满足所有查询目的,当未提供任务特定方法时,同样可以使用该方法查询点、边或路径等。

      最后,如果需要从数据库获取大量数据,建议使用uqlStream()方法以增量方式处理结果集。

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