-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathRedisGraphContext.java
More file actions
36 lines (29 loc) · 960 Bytes
/
RedisGraphContext.java
File metadata and controls
36 lines (29 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.redislabs.redisgraph;
public interface RedisGraphContext extends RedisGraph {
/**
* Returns implementing class connection context
* @return Jedis connection
*/
Connection getConnectionContext();
/**
* Returns a Redis transactional object, over the connection context, with graph API capabilities
* @return Redis transactional object, over the connection context, with graph API capabilities
*/
RedisGraphTransaction multi();
/**
* Returns a Redis pipeline object, over the connection context, with graph API capabilities
* @return Redis pipeline object, over the connection context, with graph API capabilities
*/
RedisGraphPipeline pipelined();
/**
* Perform watch over given Redis keys
* @param keys
* @return "OK"
*/
String watch(String... keys);
/**
* Removes watch from all keys
* @return
*/
String unwatch();
}