Change Password

Please enter the password.
Please enter the password. Between 8-64 characters. Not identical to your email address. Contain at least 3 of: uppercase, lowercase, numbers, and special characters.
Please enter the password.
Submit

Change Nickname

Current Nickname:
Submit

Apply New License

License Detail

Please complete this required field.

  • Ultipa Graph V4

Standalone

Please complete this required field.

Please complete this required field.

The MAC address of the server you want to deploy.

Please complete this required field.

Please complete this required field.

Cancel
Apply
ID
Product
Status
Cores
Applied Validity Period(days)
Effective Date
Excpired Date
Mac Address
Apply Comment
Review Comment
Close
Profile
  • Full Name:
  • Phone:
  • Company:
  • Company Email:
  • Country:
  • Language:
Change Password
Apply

You have no license application record.

Apply
Certificate Issued at Valid until Serial No. File
Serial No. Valid until File

Not having one? Apply now! >>>

Product Created On ID Amount (USD) Invoice
Product Created On ID Amount (USD) Invoice

No Invoice

v4.5
Search
    Français
    v4.5

      listUnion()

      Fonction listUnion() fusionne et déduplique les éléments de deux lists et les renvoie sous forme d'une nouvelle list, c'est-à-dire qu'elle renvoie l'union de ces deux lists (les éléments répétés ne sont PAS autorisés dans l'union).

      Arguments:

      • 1ère liste
      • 2ème liste

      Retours:

      • Union

      Usage Commun

      Exemple : Calcul direct

      uncollect [[1,2,2],[2,4,5]] as a
      uncollect [[2,4,7],[4,5,7]] as b
      return table(toString(a), toString(b), toString(listUnion(a, b)))
      

      | toString(a) | toString(b) | toString(listUnion(a, b)) |
      |-------------|-------------|---------------------------|
      | [1,2,2]     | [2,4,7]     | [1,2,4,7]                 |
      | [2,4,5]     | [4,5,7]     | [2,4,5,7]                 |
      

      Exemple : Multiplier et calculer

      uncollect [[1,2,2],[2,4,5]] as a
      uncollect [[2,4,7],[4,5,7]] as b
      with listUnion(a, b) as c
      return table(toString(a), toString(b), toString(c))
      

      | toString(a) | toString(b) | toString(c) |
      |-------------|-------------|-------------|
      | [1,2,2]     | [2,4,7]     | [1,2,4,7]   |
      | [1,2,2]     | [4,5,7]     | [1,2,4,5,7] |
      | [2,4,5]     | [2,4,7]     | [2,4,5,7]   |
      | [2,4,5]     | [4,5,7]     | [2,4,5,7]   |
      

      Graph d'exemple : (à utiliser pour les exemples suivants)

      Exécutez les UQLs ci-dessous un par un dans un graphset vide pour créer des données de graph :

      create().node_schema("student").node_schema("course")
      create().node_property(@*, "name").node_property(@student, "age", int32).node_property(@course, "credit", int32)
      insert().into(@student).nodes([{_id:"S001", _uuid:1, name:"Jason", age:25}, {_id:"S002", _uuid:2, name:"Lina", age:23}, {_id:"S003", _uuid:3, name:"Eric", age:24}, {_id:"S004", _uuid:4, name:"Emma", age:26}, {_id:"S005", _uuid:5, name:"Pepe", age:24}])
      insert().into(@course).nodes([{_id:"C001", _uuid:6, name:"French", credit:4}, {_id:"C002", _uuid:7, name:"Math", credit:5}])
      insert().into(@default).edges([{_uuid:1, _from_uuid:1, _to_uuid:6}, {_uuid:2, _from_uuid:2, _to_uuid:6}, {_uuid:3, _from_uuid:3, _to_uuid:6}, {_uuid:4, _from_uuid:2, _to_uuid:7}, {_uuid:5, _from_uuid:3, _to_uuid:7}, {_uuid:6, _from_uuid:4, _to_uuid:7}, {_uuid:7, _from_uuid:5, _to_uuid:7}])
      

      Exemple : Trouver les étudiants qui choisissent le français ou les maths

      khop().src({name == "French"}).depth(1) as n1
      with collect(n1) as l1
      khop().src({name == "Math"}).depth(1) as n2
      with collect(n2) as l2
      return listUnion(l1, l2)
      

      [
        {"id":"","uuid":"1","schema":"student","values":{}},
        {"id":"","uuid":"2","schema":"student","values":{}},
        {"id":"","uuid":"3","schema":"student","values":{}},
        {"id":"","uuid":"4","schema":"student","values":{}},
        {"id":"","uuid":"5","schema":"student","values":{}
      ]
      
      Please complete the following information to download this book
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写