Interface SummaryCounters


public interface SummaryCounters
Contains counters for various operations that a query triggered.
Since:
1.0.0
Author:
Neo4j Drivers Team
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the number of constraints added to the schema.
    int
    Returns the number of constraints removed from the schema.
    boolean
    If the query updated the system graph in any way, this method will return true.
    boolean
    Whether there were any updates at all, eg.
    int
    Returns the number of indexes added to the schema.
    int
    Returns the number of indexes removed from the schema.
    int
    Returns the number of labels added to nodes.
    int
    Returns the number of labels removed from nodes.
    int
    Returns the number of nodes created.
    int
    Returns the number of nodes deleted.
    int
    Returns the number of properties (on both nodes and relationships) set.
    int
    Returns the number of relationships created.
    int
    Returns the number of relationships deleted.
    int
    Returns the number of system updates performed by this query.
    int
     
  • Method Details

    • totalCount

      int totalCount()
    • containsUpdates

      boolean containsUpdates()
      Whether there were any updates at all, eg. any of the counters are greater than 0.
      Returns:
      true if the query made any updates
    • nodesCreated

      int nodesCreated()
      Returns the number of nodes created.
      Returns:
      number of nodes created.
    • nodesDeleted

      int nodesDeleted()
      Returns the number of nodes deleted.
      Returns:
      number of nodes deleted.
    • relationshipsCreated

      int relationshipsCreated()
      Returns the number of relationships created.
      Returns:
      number of relationships created.
    • relationshipsDeleted

      int relationshipsDeleted()
      Returns the number of relationships deleted.
      Returns:
      number of relationships deleted.
    • propertiesSet

      int propertiesSet()
      Returns the number of properties (on both nodes and relationships) set.
      Returns:
      number of properties (on both nodes and relationships) set.
    • labelsAdded

      int labelsAdded()
      Returns the number of labels added to nodes.
      Returns:
      number of labels added to nodes.
    • labelsRemoved

      int labelsRemoved()
      Returns the number of labels removed from nodes.
      Returns:
      number of labels removed from nodes.
    • indexesAdded

      int indexesAdded()
      Returns the number of indexes added to the schema.
      Returns:
      number of indexes added to the schema.
    • indexesRemoved

      int indexesRemoved()
      Returns the number of indexes removed from the schema.
      Returns:
      number of indexes removed from the schema.
    • constraintsAdded

      int constraintsAdded()
      Returns the number of constraints added to the schema.
      Returns:
      number of constraints added to the schema.
    • constraintsRemoved

      int constraintsRemoved()
      Returns the number of constraints removed from the schema.
      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.
      Returns:
      the number of system updates performed by this query.