Change Password

Input error
Input error
Input error
Submit

Change Nickname

Current Nickname:
Submit
Search
v4.0
    v4.0

    UQL Request

    Find Nodes

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.uql("find().nodes() as nodes return nodes limit 10")
    # ret.toJSON() # To output in JSON format 
    
    ret.Print() # To output in TABLE format
    

    Find Edges

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.uql("find().edges() as edges return edges limit 10")
    # ret.toJSON() # To output in JSON format 
    
    ret.Print() # To output in TABLE format
    

    Find Paths

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.uql("n().e()[2].n() as resultPaths return resultPaths{*} limit 10")
    # ret.toJSON() # To output in JSON format 
    
    ret.Print() # To output in TABLE format
    

    Return a Table

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.uql("n(as startNode).e()[2].n(as endNode) return table(startNode._id, endNode._id) as pairs limit 10")
    # ret.toJSON() # To output in JSON format 
    
    ret.Print() # To output in TABLE format
    

    Return an Array

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.uql("n({_id == 'ULTIPA'}).e().n(as friends) return collect(friends.name) as names")
    # ret.toJSON() # To output in JSON format 
    
    ret.Print() # To output in TABLE format
    

    Return Graphs

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.uql("show().graph()")
    # ret.toJSON() # To output in JSON format 
    
    ret.Print() # To output in TABLE format
    

    Return Schemas

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.uql("show().schema()")
    # ret.toJSON() # To output in JSON format 
    
    ret.Print() # To output in TABLE format
    

    Return Installed Algorithms

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.uql("show().algo()")
    # ret.toJSON() # To output in JSON format 
    
    ret.Print() # To output in TABLE format
    

    Return Statistic Info

    from ultipa import Connection
    from ultipa import UltipaConfig,ULTIPA_REQUEST,ULTIPA
    defaultConfig = UltipaConfig()
    conn = Connection.GetConnection(hosts=["host:port"],username="root",
                                    password="root",defaultConfig=defaultConfig)
    ret = conn.uql("stats()")
    # ret.toJSON() # To output in JSON format 
    
    ret.Print() # To output in TABLE format
    
    Please complete the following information to download this book
    *
    公司名称不能为空
    *
    公司邮箱必须填写
    *
    你的名字必须填写
    *
    你的电话必须填写
    *
    你的电话必须填写