Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neo4j.cypher.javacompat
Class QueryStatistics

    java.lang.Object
      org.neo4j.cypher.javacompat.QueryStatistics

    public class QueryStatistics

extends Object

Holds statistics for the execution of a query.

Method Summary
`boolean` | `containsUpdates()` If the query updated the graph in any way, this method will return true.
`int` | `getDeletedNodes()` Returns the number of nodes deleted by this query.
`int` | `getDeletedRelationships()` Returns the number of relationships deleted by this query.
`int` | `getNodesCreated()` Returns the number of nodes created by this query.
`int` | `getPropertiesSet()` Returns the number of properties set by this query.
`int` | `getRelationshipsCreated()` Returns the number of relationships created by this query.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getNodesCreated

    public int getNodesCreated()

  Returns the number of nodes created by this query.

  Returns:
    the number of nodes created by this query.

### getRelationshipsCreated

    public int getRelationshipsCreated()

  Returns the number of relationships created by this query.

  Returns:
    the number of relationships created by this query.

### getPropertiesSet

    public int getPropertiesSet()

  Returns the number of properties set by this query. Setting a property to the same value again still counts towards this.

  Returns:
    the number of properties set by this query.

### getDeletedNodes

    public int getDeletedNodes()

  Returns the number of nodes deleted by this query.

  Returns:
    the number of nodes deleted by this query.

### getDeletedRelationships

    public int getDeletedRelationships()

  Returns the number of relationships deleted by this query.

  Returns:
    the number of relationships deleted by this query.

### containsUpdates

    public boolean containsUpdates()

  If the query updated the graph in any way, this method will return true.

  Returns:
    if the graph has been updated.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.