Class ResultSetBuilder.StatisticsImpl

java.lang.Object
redis.clients.jedis.graph.ResultSetBuilder.StatisticsImpl
All Implemented Interfaces:
Statistics
Enclosing class:
ResultSetBuilder

private class ResultSetBuilder.StatisticsImpl extends Object implements Statistics
  • Field Details

  • Constructor Details

  • Method Details

    • getStringValue

      public String getStringValue(String label)
      Parameters:
      label - the requested statistic label as key
      Returns:
      a string with the value, if key exists, null otherwise
    • getIntValue

      private int getIntValue(String label)
      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:
      nodesCreated in interface Statistics
      Returns:
      number of nodes created after query execution
    • nodesDeleted

      public int nodesDeleted()
      Specified by:
      nodesDeleted in interface Statistics
      Returns:
      number of nodes deleted after query execution
    • indicesCreated

      public int indicesCreated()
      Specified by:
      indicesCreated in interface Statistics
      Returns:
      number of indices added after query execution
    • indicesDeleted

      public int indicesDeleted()
      Specified by:
      indicesDeleted in interface Statistics
    • labelsAdded

      public int labelsAdded()
      Specified by:
      labelsAdded in interface Statistics
      Returns:
      number of labels added after query execution
    • relationshipsDeleted

      public int relationshipsDeleted()
      Specified by:
      relationshipsDeleted in interface Statistics
      Returns:
      number of relationship deleted after query execution
    • relationshipsCreated

      public int relationshipsCreated()
      Specified by:
      relationshipsCreated in interface Statistics
      Returns:
      number of relationship created after query execution
    • propertiesSet

      public int propertiesSet()
      Specified by:
      propertiesSet in interface Statistics
      Returns:
      number of properties set after query execution
    • cachedExecution

      public boolean cachedExecution()
      Specified by:
      cachedExecution in interface Statistics
      Returns:
      The execution plan was cached on RedisGraph.
    • queryIntervalExecutionTime

      public String queryIntervalExecutionTime()
      Specified by:
      queryIntervalExecutionTime in interface Statistics
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object