Package redis.clients.jedis.graph
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 TypeMethodDescriptionbooleancontainsKey(String key) Check if the record header contains the given keygetString(int index) The value at the given field index (represented as String)The value at the given field (represented as String)<T> TgetValue(int index) The value at the given field index<T> TThe value at the given fieldkeys()The keys of the recordintsize()The number of fields in this recordvalues()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
The value at the given field- Parameters:
key- header key- Returns:
- the value
-
getString
The value at the given field index (represented as String)- Parameters:
index-- Returns:
- string representation of the value
-
getString
The value at the given field (represented as String)- Parameters:
key- header key- Returns:
- string representation of the value
-
keys
The keys of the record- Returns:
- list of the record key
-
values
The values of the record- Returns:
- list of the record values
-
containsKey
Check if the record header contains the given key- Parameters:
key- header key- Returns:
trueif the the key exists
-
size
int size()The number of fields in this record- Returns:
- the number of fields
-