Class ResultSetBuilder.RecordImpl

java.lang.Object
redis.clients.jedis.graph.ResultSetBuilder.RecordImpl
All Implemented Interfaces:
Record
Enclosing class:
ResultSetBuilder

private class ResultSetBuilder.RecordImpl extends Object implements Record
  • Field Details

  • Constructor Details

  • Method Details

    • getValue

      public <T> T getValue(int index)
      Description copied from interface: Record
      The value at the given field index
      Specified by:
      getValue in interface Record
      Parameters:
      index - field index
      Returns:
      the value
    • getValue

      public <T> T getValue(String key)
      Description copied from interface: Record
      The value at the given field
      Specified by:
      getValue in interface Record
      Parameters:
      key - header key
      Returns:
      the value
    • getString

      public String getString(int index)
      Description copied from interface: Record
      The value at the given field index (represented as String)
      Specified by:
      getString in interface Record
      Parameters:
      index -
      Returns:
      string representation of the value
    • getString

      public String getString(String key)
      Description copied from interface: Record
      The value at the given field (represented as String)
      Specified by:
      getString in interface Record
      Parameters:
      key - header key
      Returns:
      string representation of the value
    • keys

      public List<String> keys()
      Description copied from interface: Record
      The keys of the record
      Specified by:
      keys in interface Record
      Returns:
      list of the record key
    • values

      public List<Object> values()
      Description copied from interface: Record
      The values of the record
      Specified by:
      values in interface Record
      Returns:
      list of the record values
    • containsKey

      public boolean containsKey(String key)
      Description copied from interface: Record
      Check if the record header contains the given key
      Specified by:
      containsKey in interface Record
      Parameters:
      key - header key
      Returns:
      true if the the key exists
    • size

      public int size()
      Description copied from interface: Record
      The number of fields in this record
      Specified by:
      size in interface Record
      Returns:
      the number of fields
    • 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