public class QueryStatistics extends Object implements QueryStatistics
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsUpdates()
If the query updated the graph in any way, this method will return true.
|
int |
getConstraintsAdded()
Returns the number of constraint added by this query.
|
int |
getConstraintsRemoved()
Returns the number of constraint removed by this query.
|
int |
getDeletedNodes()
Returns the number of nodes deleted by this query.
|
int |
getDeletedRelationships()
Returns the number of relationships deleted by this query.
|
int |
getIndexesAdded()
Returns the number of indexes added by this query.
|
int |
getIndexesRemoved()
Returns the number of indexes removed by this query.
|
int |
getLabelsAdded()
Returns the number of labels added to any node by this query.
|
int |
getLabelsRemoved()
Returns the number of labels removed from any node by this query.
|
int |
getNodesCreated()
Returns the number of nodes created by this query.
|
int |
getNodesDeleted()
Returns the number of nodes deleted 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.
|
int |
getRelationshipsDeleted()
Returns the number of relationships deleted by this query.
|
String |
toString() |
public int getNodesCreated()
getNodesCreated in interface QueryStatisticspublic int getNodesDeleted()
QueryStatisticsgetNodesDeleted in interface QueryStatisticspublic int getRelationshipsCreated()
getRelationshipsCreated in interface QueryStatisticspublic int getRelationshipsDeleted()
QueryStatisticsgetRelationshipsDeleted in interface QueryStatisticspublic int getPropertiesSet()
getPropertiesSet in interface QueryStatisticspublic int getDeletedNodes()
public int getDeletedRelationships()
public int getLabelsAdded()
getLabelsAdded in interface QueryStatisticspublic int getLabelsRemoved()
getLabelsRemoved in interface QueryStatisticspublic int getIndexesAdded()
getIndexesAdded in interface QueryStatisticspublic int getIndexesRemoved()
getIndexesRemoved in interface QueryStatisticspublic int getConstraintsAdded()
getConstraintsAdded in interface QueryStatisticspublic int getConstraintsRemoved()
getConstraintsRemoved in interface QueryStatisticspublic boolean containsUpdates()
containsUpdates in interface QueryStatisticsCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.