MCPcopy Create free account
hub / github.com/RedisGraph/JRedisGraph / Record

Interface Record

src/main/java/com/redislabs/redisgraph/Record.java:10–76  ·  view source on GitHub ↗

Container for RedisGraph result values. List records are returned from RedisGraph statement execution, contained within a ResultSet.

Source from the content-addressed store, hash-verified

8 * List records are returned from RedisGraph statement execution, contained within a ResultSet.
9 */
10public interface Record {
11
12 /**
13 * The value at the given field index
14 *
15 * @param index field index
16 *
17 * @return the value
18 */
19 <T> T getValue(int index);
20
21 /**
22 * The value at the given field
23 *
24 * @param key header key
25 *
26 * @return the value
27 */
28 <T> T getValue(String key);
29
30 /**
31 * The value at the given field index (represented as String)
32 *
33 * @param index
34 * @return string representation of the value
35 */
36 String getString(int index);
37
38 /**
39 * The value at the given field (represented as String)
40 *
41 * @param key header key
42 *
43 * @return string representation of the value
44 */
45 String getString(String key);
46
47 /**
48 * The keys of the record
49 *
50 * @return list of the record key
51 */
52 List<String> keys();
53
54 /**
55 * The values of the record
56 *
57 * @return list of the record values
58 */
59 List<Object> values();
60
61 /**
62 * Check if the record header contains the given key
63 *
64 * @param key header key
65 *
66 * @return <code>true</code> if the the key exists
67 */

Callers 36

testSyncMethod · 0.95
testReadOnlyQueriesMethod · 0.95
testMultiExecMethod · 0.95
testRecordMethod · 0.95
testContextedAPIMethod · 0.95
testArraySupportMethod · 0.95
testParametersMethod · 0.95
testRecordMethod · 0.95
testContextedAPIMethod · 0.95
getProcedureInfoMethod · 0.95
testSyncMethod · 0.95

Implementers 1

RecordImplsrc/main/java/com/redislabs/redisgraph

Calls

no outgoing calls

Tested by

no test coverage detected