Class QueryStatisticsModel

java.lang.Object
org.neo4j.ogm.response.model.QueryStatisticsModel
All Implemented Interfaces:
QueryStatistics

public class QueryStatisticsModel extends Object implements QueryStatistics
Holds read only statistics about query execution. The field names do not follow convention as they are mapped directly from the JSON received from the Neo4j API.
Author:
Luanne Misquitta
  • Constructor Details

    • QueryStatisticsModel

      public QueryStatisticsModel()
  • Method Details

    • containsUpdates

      public boolean containsUpdates()
      Specified by:
      containsUpdates in interface QueryStatistics
    • getNodesCreated

      public int getNodesCreated()
      Specified by:
      getNodesCreated in interface QueryStatistics
    • getNodesDeleted

      public int getNodesDeleted()
      Specified by:
      getNodesDeleted in interface QueryStatistics
    • getPropertiesSet

      public int getPropertiesSet()
      Specified by:
      getPropertiesSet in interface QueryStatistics
    • getRelationshipsCreated

      public int getRelationshipsCreated()
      Specified by:
      getRelationshipsCreated in interface QueryStatistics
    • getRelationshipsDeleted

      public int getRelationshipsDeleted()
      Specified by:
      getRelationshipsDeleted in interface QueryStatistics
    • getLabelsAdded

      public int getLabelsAdded()
      Specified by:
      getLabelsAdded in interface QueryStatistics
    • getLabelsRemoved

      public int getLabelsRemoved()
      Specified by:
      getLabelsRemoved in interface QueryStatistics
    • getIndexesAdded

      public int getIndexesAdded()
      Specified by:
      getIndexesAdded in interface QueryStatistics
    • getIndexesRemoved

      public int getIndexesRemoved()
      Specified by:
      getIndexesRemoved in interface QueryStatistics
    • getConstraintsAdded

      public int getConstraintsAdded()
      Specified by:
      getConstraintsAdded in interface QueryStatistics
    • getConstraintsRemoved

      public int getConstraintsRemoved()
      Specified by:
      getConstraintsRemoved in interface QueryStatistics
    • setContains_updates

      public void setContains_updates(boolean contains_updates)
    • setNodes_created

      public void setNodes_created(int nodes_created)
    • setNodes_deleted

      public void setNodes_deleted(int nodes_deleted)
    • setProperties_set

      public void setProperties_set(int properties_set)
    • setRelationships_created

      public void setRelationships_created(int relationships_created)
    • setRelationships_deleted

      public void setRelationships_deleted(int relationships_deleted)
    • setLabels_added

      public void setLabels_added(int labels_added)
    • setLabels_removed

      public void setLabels_removed(int labels_removed)
    • setIndexes_added

      public void setIndexes_added(int indexes_added)
    • setIndexes_removed

      public void setIndexes_removed(int indexes_removed)
    • setConstraints_added

      public void setConstraints_added(int constraints_added)
    • setConstraints_removed

      public void setConstraints_removed(int constraints_removed)
    • getRelationship_deleted

      public int getRelationship_deleted()
    • setRelationship_deleted

      public void setRelationship_deleted(int relationship_deleted)