Interface Record

All Known Implementing Classes:
ResultSetBuilder.RecordImpl

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

    Modifier and Type
    Method
    Description
    boolean
    Check if the record header contains the given key
    getString(int index)
    The value at the given field index (represented as String)
    The value at the given field (represented as String)
    <T> T
    getValue(int index)
    The value at the given field index
    <T> T
    The value at the given field
    The keys of the record
    int
    The number of fields in this record
    The values of the record
  • Method Details

    • 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