Interface Record

  • All Known Implementing Classes:
    RecordImpl

    public interface Record
    Container for RedisGraph result values. List records are returned from RedisGraph statement execution, contained within a ResultSet.
    • Method Detail

      • getValue

        <T> T getValue​(int index)
        The value at the given field index
        Parameters:
        index - field index
        Returns:
        the value
      • getValue

        <T> T getValue​(String key)
        The value at the given field
        Parameters:
        key - header key
        Returns:
        the value
      • getString

        String getString​(int index)
        The value at the given field index (represented as String)
        Parameters:
        index -
        Returns:
        string representation of the value
      • getString

        String getString​(String key)
        The value at the given field (represented as String)
        Parameters:
        key - header key
        Returns:
        string representation of the value
      • keys

        List<String> keys()
        The keys of the record
        Returns:
        list of the record key
      • values

        List<Object> values()
        The values of the record
        Returns:
        list of the record values
      • containsKey

        boolean containsKey​(String key)
        Check if the record header contains the given key
        Parameters:
        key - header key
        Returns:
        true if the the key exists
      • size

        int size()
        The number of fields in this record
        Returns:
        the number of fields