- All Known Implementing Classes:
InternalSummaryCounters
Contains counters for various operations that a query triggered.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionintintbooleanIf the query updated the system graph in any way, this method will return true,booleanWhether there were any updates at all, e.g.intintintintintintintintintint
-
Method Details
-
containsUpdates
boolean containsUpdates()Whether there were any updates at all, e.g. any of the counters are greater than 0.- Returns:
- true if the query made any updates
-
nodesCreated
int nodesCreated()- Returns:
- number of nodes created.
-
nodesDeleted
int nodesDeleted()- Returns:
- number of nodes deleted.
-
relationshipsCreated
int relationshipsCreated()- Returns:
- number of relationships created.
-
relationshipsDeleted
int relationshipsDeleted()- Returns:
- number of relationships deleted.
-
propertiesSet
int propertiesSet()- Returns:
- number of properties (on both nodes and relationships) set.
-
labelsAdded
int labelsAdded()- Returns:
- number of labels added to nodes.
-
labelsRemoved
int labelsRemoved()- Returns:
- number of labels removed from nodes.
-
indexesAdded
int indexesAdded()- Returns:
- number of indexes added to the schema.
-
indexesRemoved
int indexesRemoved()- Returns:
- number of indexes removed from the schema.
-
constraintsAdded
int constraintsAdded()- Returns:
- number of constraints added to the schema.
-
constraintsRemoved
int constraintsRemoved()- Returns:
- number of constraints removed from the schema.
-
containsSystemUpdates
boolean containsSystemUpdates()If the query updated the system graph in any way, this method will return true,- Returns:
- true if the system graph has been updated.
-
systemUpdates
int systemUpdates()- Returns:
- the number of system updates performed by this query.
-