Uses of Interface
com.graphdbapi.driver.Vertex
-
Packages that use Vertex Package Description com.graphdbapi.driver com.graphdbapi.driver.v1 -
-
Uses of Vertex in com.graphdbapi.driver
Methods in com.graphdbapi.driver that return Vertex Modifier and Type Method Description Vertex
Edge. getFromVertex()
获取起始点信息。 不是同边信息一同返回,额外调用了Graph.retrieveVertex(long)
方法获取。Vertex
Edge. getToVertex()
获取终止点信息。 不是同边信息一同返回,额外调用了Graph.retrieveVertex(long)
方法获取。default Vertex
Graph. insertVertexByPk(String pk, String type)
新增点。通过点pk和type新增一个的无属性点。Vertex
Graph. insertVertexByPk(String pk, String type, Map<String,Object> property)
新增点。通过点pk和type新增一个点,属性为可选项。Vertex
Graph. retrieveOrInsertVertexByPk(String pk, String type, Map<String,Object> property)
查询或新增点。通过点pk和type查询或新增点。若点已经存在,仅查询并返回点信息,属性值不做修改。若点不存在,新增并返回点信息。Vertex
Graph. retrieveVertex(long id)
查询点。通过点id查询点信息。不存在返回nullVertex
Graph. retrieveVertexByPk(String pk, String type)
查询点。通过点pk和type查询点。在一个确定的点类型下,通过pk仅能查询到一个点。不存在返回nulldefault Vertex
Graph. updateVertex(long id, Map<String,Object> property)
更新点。通过点id更新点属性。(集合属性会自动追加)Vertex
Graph. updateVertex(long id, Map<String,Object> property, boolean isMerge)
更新点。通过点id更新点属性。default Vertex
Graph. updateVertexByPk(String pk, String type, Map<String,Object> property)
更新点。通过点pk和type更新点。如果已存在,则会比较属性值。(集合属性会自动追加)Vertex
Graph. updateVertexByPk(String pk, String type, Map<String,Object> property, boolean isMerge)
更新点。通过点pk和type更新点。如果已存在,则会比较属性值。default Vertex
Graph. upsertVertexByPk(String pk, String type, Map<String,Object> property)
新增或更新点。通过点pk和type新增或更新点。如果已存在,则会比较属性值。(集合属性会自动追加)Vertex
Graph. upsertVertexByPk(String pk, String type, Map<String,Object> property, boolean isMerge)
新增或更新点。通过点pk和type新增或更新点。如果已存在,则会比较属性值。Methods in com.graphdbapi.driver that return types with arguments of type Vertex Modifier and Type Method Description List<ResponseItem<Vertex>>
Graph. insertVertexesByPk(List<VertexInfoByPk> list)
批量新增点。通过点pk和type新增点,属性为可选项。 结果按传入顺序构成集合,集合中包含新增后的点信息和错误信息。通过ResponseItem.isError()
方法判断操作是否失败。Iterator<Vertex>
Graph. retrieveAllVertexes()
查询所有点。迭代获取数据库中的所有点信息。List<ResponseItem<Vertex>>
Graph. retrieveOrInsertVertexesByPk(List<VertexInfoByPk> list)
批量查询或新增点。通过点pk和type查询或新增点。若点已经存在,仅查询并返回点信息,属性值不做修改。若点不存在,新增并返回点信息。 结果按传入顺序构成集合,集合中包含查询或新增后的点信息和错误信息。通过ResponseItem.isError()
方法判断操作是否失败。List<ResponseItem<Vertex>>
Graph. retrieveVertexes(List<Long> list)
批量查询点。通过点id查询点信息。不存在返回空集合 结果按传入顺序构成集合,集合中包含查询的点信息和错误信息。通过ResponseItem.isError()
方法判断操作是否失败。List<ResponseItem<Vertex>>
Graph. retrieveVertexesByPk(List<VertexInfoByPk> list)
批量查询点。通过点pk和type查询点信息。不存在返回空集合 结果按传入顺序构成集合,集合中包含查询的点信息和错误信息。通过ResponseItem.isError()
方法判断操作是否失败。Iterator<Vertex>
Graph. retrieveVertexesByType(String type)
查询点类型下的所有点。迭代获取某个点类型的所有点信息。Iterator<Vertex>
Graph. searchVertexProperty(String type, List<SearchPredicate> predicates, List<SearchOrder> orders, int skip, int limit)
通过类型、属性查询点List<ResponseItem<Vertex>>
Graph. updateVertexes(List<VertexInfoById> list)
批量更新点。通过点id更新点。如果已存在,则会比较属性值。 结果按传入顺序构成集合,集合中包含更新后的点信息和错误信息。通过ResponseItem.isError()
方法判断操作是否失败。List<ResponseItem<Vertex>>
Graph. updateVertexesByPk(List<VertexInfoByPk> list)
批量更新点。通过点pk和type更新点。如果已存在,则会比较属性值。 结果按传入顺序构成集合,集合中包含更新后的点信息和错误信息。通过ResponseItem.isError()
方法判断操作是否失败。List<ResponseItem<Vertex>>
Graph. upsertVertexesByPk(List<VertexInfoByPk> list)
批量新增或更新点。通过点pk和type新增或更新点。如果已存在,则会比较属性值。 结果按传入顺序构成集合,集合中包含新增或更新后的点信息和错误信息。通过ResponseItem.isError()
方法判断操作是否失败。 -
Uses of Vertex in com.graphdbapi.driver.v1
Methods in com.graphdbapi.driver.v1 that return Vertex Modifier and Type Method Description Vertex
Value. asVertex()
如果可能的话,将值作为Vertex
。
-