Package redis.clients.jedis.graph
Class ResultSetBuilder.StatisticsImpl
java.lang.Object
redis.clients.jedis.graph.ResultSetBuilder.StatisticsImpl
- All Implemented Interfaces:
Statistics
- Enclosing class:
ResultSetBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanprivate intgetIntValue(String label) getStringValue(String label) inthashCode()intintintintintintintinttoString()
-
Field Details
-
statistics
-
-
Constructor Details
-
StatisticsImpl
-
-
Method Details
-
getStringValue
- Parameters:
label- the requested statistic label as key- Returns:
- a string with the value, if key exists, null otherwise
-
getIntValue
- Parameters:
label- the requested statistic label as key- Returns:
- a string with the value, if key exists, 0 otherwise
-
nodesCreated
public int nodesCreated()- Specified by:
nodesCreatedin interfaceStatistics- Returns:
- number of nodes created after query execution
-
nodesDeleted
public int nodesDeleted()- Specified by:
nodesDeletedin interfaceStatistics- Returns:
- number of nodes deleted after query execution
-
indicesCreated
public int indicesCreated()- Specified by:
indicesCreatedin interfaceStatistics- Returns:
- number of indices added after query execution
-
indicesDeleted
public int indicesDeleted()- Specified by:
indicesDeletedin interfaceStatistics
-
labelsAdded
public int labelsAdded()- Specified by:
labelsAddedin interfaceStatistics- Returns:
- number of labels added after query execution
-
relationshipsDeleted
public int relationshipsDeleted()- Specified by:
relationshipsDeletedin interfaceStatistics- Returns:
- number of relationship deleted after query execution
-
relationshipsCreated
public int relationshipsCreated()- Specified by:
relationshipsCreatedin interfaceStatistics- Returns:
- number of relationship created after query execution
-
propertiesSet
public int propertiesSet()- Specified by:
propertiesSetin interfaceStatistics- Returns:
- number of properties set after query execution
-
cachedExecution
public boolean cachedExecution()- Specified by:
cachedExecutionin interfaceStatistics- Returns:
- The execution plan was cached on RedisGraph.
-
queryIntervalExecutionTime
- Specified by:
queryIntervalExecutionTimein interfaceStatistics
-
equals
-
hashCode
public int hashCode() -
toString
-