Package oracle.pgx.api
Interface GraphDelta
-
public interface GraphDelta
Represents a delta since the last synchronization operation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getNumberOfAddedEdges()
Gets the number of added edgeslong
getNumberOfAddedVertices()
Gets the number of added verticeslong
getNumberOfRemovedEdges()
Gets the number of removed edgeslong
getNumberOfRemovedVertices()
Gets the number of removed verticeslong
getNumberOfUpdatedEdges()
Gets the number of updated edges.long
getNumberOfUpdatedVertices()
Gets the number of updated vertices.long
getTotalNumberOfChanges()
Gets the total number of changes.
-
-
-
Method Detail
-
getTotalNumberOfChanges
long getTotalNumberOfChanges()
Gets the total number of changes.- Returns:
- the sum of all added/removed/updated vertices and edges
-
getNumberOfAddedVertices
long getNumberOfAddedVertices()
Gets the number of added vertices- Returns:
- the number of added vertices
-
getNumberOfRemovedVertices
long getNumberOfRemovedVertices()
Gets the number of removed vertices- Returns:
- the number of removed vertices
-
getNumberOfUpdatedVertices
long getNumberOfUpdatedVertices()
Gets the number of updated vertices. A vertex is considered updated if one or more of its properties changed their value.- Returns:
- the number of updated vertices
-
getNumberOfAddedEdges
long getNumberOfAddedEdges()
Gets the number of added edges- Returns:
- the number of added edges
-
getNumberOfRemovedEdges
long getNumberOfRemovedEdges()
Gets the number of removed edges- Returns:
- the number of removed edges
-
getNumberOfUpdatedEdges
long getNumberOfUpdatedEdges()
Gets the number of updated edges. An edge is considered updated if one or more of its properties changed their value.- Returns:
- the number of updated edges
-
-