Uses of Interface
com.graphdbapi.driver.Vertex
-
Packages that use Vertex Package Description com.graphdbapi.driver -
-
Uses of Vertex in com.graphdbapi.driver
Methods in com.graphdbapi.driver that return Vertex Modifier and Type Method Description VertexEdge. getFromVertex()获取起始点信息。 不是同边信息一同返回,额外调用了Graph.retrieveVertex(long)方法获取。VertexEdge. getToVertex()获取终止点信息。 不是同边信息一同返回,额外调用了Graph.retrieveVertex(long)方法获取。default VertexGraph. insertVertexByPk(String pk, String type)新增点。通过点pk和type新增一个的无属性点。VertexGraph. insertVertexByPk(String pk, String type, Map<String,Object> property)新增点。通过点pk和type新增一个点,属性为可选项。VertexGraph. retrieveOrInsertVertexByPk(String pk, String type, Map<String,Object> property)查询或新增点。通过点pk和type查询或新增点。若点已经存在,仅查询并返回点信息,属性值不做修改。若点不存在,新增并返回点信息。VertexGraph. retrieveVertex(long id)查询点。通过点id查询点信息。不存在返回nullVertexGraph. retrieveVertexByPk(String pk, String type)查询点。通过点pk和type查询点。在一个确定的点类型下,通过pk仅能查询到一个点。不存在返回nulldefault VertexGraph. updateVertex(long id, Map<String,Object> property)更新点。通过点id更新点属性。(集合属性会自动追加)VertexGraph. updateVertex(long id, Map<String,Object> property, boolean isMerge)更新点。通过点id更新点属性。default VertexGraph. updateVertexByPk(String pk, String type, Map<String,Object> property)更新点。通过点pk和type更新点。如果已存在,则会比较属性值。(集合属性会自动追加)VertexGraph. updateVertexByPk(String pk, String type, Map<String,Object> property, boolean isMerge)更新点。通过点pk和type更新点。如果已存在,则会比较属性值。default VertexGraph. upsertVertexByPk(String pk, String type, Map<String,Object> property)新增或更新点。通过点pk和type新增或更新点。如果已存在,则会比较属性值。(集合属性会自动追加)VertexGraph. 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)查询点类型下的所有点。迭代获取某个点类型的所有点信息。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()方法判断操作是否失败。
-