- All Known Implementing Classes:
- InternalSummaryCounters
Contains counters for various operations that a query triggered.
- Since:
- 1.0
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the number of constraints added to the schema.intReturns the number of constraints removed from the schema.booleanIf the query updated the system graph in any way, this method will return true,booleanWhether there were any updates at all, e.g.intReturns the number of indexes added to the schema.intReturns the number of indexes removed from the schema.intReturns the number of labels added to nodes.intReturns the number of labels removed from nodes.intReturns the number of nodes created.intReturns the number of nodes deleted.intReturns the number of properties (on both nodes and relationships) set.intReturns the number of relationships created.intReturns the number of relationships deleted.intReturns the number of system updates performed by this query.
- 
Method Details- 
containsUpdatesboolean 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
 
- 
nodesCreatedint nodesCreated()Returns the number of nodes created.- Returns:
- the number of nodes created
 
- 
nodesDeletedint nodesDeleted()Returns the number of nodes deleted.- Returns:
- the number of nodes deleted
 
- 
relationshipsCreatedint relationshipsCreated()Returns the number of relationships created.- Returns:
- the number of relationships created
 
- 
relationshipsDeletedint relationshipsDeleted()Returns the number of relationships deleted.- Returns:
- the number of relationships deleted
 
- 
propertiesSetint propertiesSet()Returns the number of properties (on both nodes and relationships) set.- Returns:
- the number of properties (on both nodes and relationships) set
 
- 
labelsAddedint labelsAdded()Returns the number of labels added to nodes.- Returns:
- the number of labels added to nodes
 
- 
labelsRemovedint labelsRemoved()Returns the number of labels removed from nodes.- Returns:
- the number of labels removed from nodes
 
- 
indexesAddedint indexesAdded()Returns the number of indexes added to the schema.- Returns:
- the number of indexes added to the schema
 
- 
indexesRemovedint indexesRemoved()Returns the number of indexes removed from the schema.- Returns:
- the number of indexes removed from the schema
 
- 
constraintsAddedint constraintsAdded()Returns the number of constraints added to the schema.- Returns:
- the number of constraints added to the schema
 
- 
constraintsRemovedint constraintsRemoved()Returns the number of constraints removed from the schema.- Returns:
- the number of constraints removed from the schema
 
- 
containsSystemUpdatesboolean 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.
 
- 
systemUpdatesint systemUpdates()Returns the number of system updates performed by this query.- Returns:
- the number of system updates performed by this query
 
 
-